Convert checkout view
This commit is contained in:
parent
610b3ca4ad
commit
6360e1ad10
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user