diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index ff20517..f018de8 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -216,7 +216,7 @@ class PagesController extends Controller $checkout_final_results = Checkout::where('checkout_id', '=', $checkoutid) ->first(); $bidder_num = $checkout_final_results->bidder_num; - $checkout_list_results = WinningBids::with('items') + $checkout_list_results = WinningBids::with('items_rel') ->where('winning_bidder_num', '=', $bidder_num) ->get(); $checkout_info_results = DB::select("SELECT diff --git a/resources/views/receiptpdf.blade.php b/resources/views/receiptpdf.blade.php index d29a293..b0e57e1 100644 --- a/resources/views/receiptpdf.blade.php +++ b/resources/views/receiptpdf.blade.php @@ -179,10 +179,10 @@ @foreach($checkout_list_results as $checkout_list_result)