convert checkout complete list

This commit is contained in:
Russ Long 2018-12-24 13:14:39 -05:00
parent d9f73159a2
commit 71b911a7ab

View File

@ -143,15 +143,10 @@ class PagesController extends Controller
public function checkoutCompleteList() public function checkoutCompleteList()
{ {
$checkout_complete_results = DB::select("SELECT $checkout_complete_results = Checkout::join('bidders', 'checkout.bidder_num', '=', 'bidders.idbidders')
checkout.*, ->groupBy('bidder_num')
bidders.* ->orderBy('bidders.bider_assigned_number', 'asc')
FROM checkout ->get();
INNER JOIN bidders AS bidders
ON checkout.bidder_num=bidders.idbidders
GROUP BY checkout.bidder_num
ORDER BY bidders.bidder_assigned_number ASC
");
return view('checkout_complete_list', ['checkout_complete_results' => $checkout_complete_results]); return view('checkout_complete_list', ['checkout_complete_results' => $checkout_complete_results]);
} }