mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update order change process
This commit is contained in:
parent
1ea307854f
commit
2b69e83132
@ -75,6 +75,7 @@ class OrderController extends Controller
|
||||
private function getSurplusValue(User $user)
|
||||
{
|
||||
$plan = Plan::find($user->plan_id);
|
||||
$dayPrice = 0;
|
||||
if ($plan->month_price) {
|
||||
$dayPrice = $plan->month_price / 30;
|
||||
} else if ($plan->quarter_price) {
|
||||
|
Loading…
Reference in New Issue
Block a user