mirror of
https://github.com/v2board/v2board.git
synced 2025-02-11 07:59: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)
|
private function getSurplusValue(User $user)
|
||||||
{
|
{
|
||||||
$plan = Plan::find($user->plan_id);
|
$plan = Plan::find($user->plan_id);
|
||||||
|
$dayPrice = 0;
|
||||||
if ($plan->month_price) {
|
if ($plan->month_price) {
|
||||||
$dayPrice = $plan->month_price / 30;
|
$dayPrice = $plan->month_price / 30;
|
||||||
} else if ($plan->quarter_price) {
|
} else if ($plan->quarter_price) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user