mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	update order change process
This commit is contained in:
		| @@ -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) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user