convert receiptpdf

This commit is contained in:
Russ Long 2018-12-29 14:06:26 -05:00
parent e2c97b2c7e
commit 130ef1fd57
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -179,10 +179,10 @@
@foreach($checkout_list_results as $checkout_list_result)
<tr>
<td>
{{ $checkout_list_result->items->item_assigned_num }}
{{ $checkout_list_result->items_rel->item_assigned_num }}
</td>
<td>
{{ $checkout_list_result->items->item_desc }}
{{ $checkout_list_result->items_rel->item_desc }}
</td>
<td>
${{ $checkout_list_result->items->winning_cost }}