diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 966236b..793ccf9 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -78,14 +78,14 @@ class PagesController extends Controller $checkout_list_results = WinningBids::with('items') ->where('winning_bidder_num', $checkout_bidder) ->get(); - $checkout_info_results = WinningBids::with('bidders') - ->where('winning_bidder_num', $checkout_bidder) - ->get(); - $checkout_cost_result = WinningBids::where('winning_bidder_num', $checkout_bidder) - ->sum('winning_cost'); + $checkout_info_results = WinningBids::with('bidders') + ->where('winning_bidder_num', $checkout_bidder) + ->get(); + $checkout_cost_result = WinningBids::where('winning_bidder_num', $checkout_bidder) + ->sum('winning_cost'); return view('checkout', [ 'checkout_list_results' => $checkout_list_results, - '$checkout_cost_result' => $checkout_cost_result, + 'checkout_cost_result' => $checkout_cost_result, 'checkout_info_results' => $checkout_info_results ]); } else {