convert checkout

This commit is contained in:
Russ Long 2018-12-24 12:57:07 -05:00
parent 6360e1ad10
commit 6310dbcb23
2 changed files with 8 additions and 7 deletions

View File

@ -79,6 +79,7 @@ class PagesController extends Controller
->where('winning_bidder_num', $checkout_bidder)
->get();
$checkout_info_results = WinningBids::with('bidders')
->with('items')
->where('winning_bidder_num', $checkout_bidder)
->get();
$checkout_cost_result = WinningBids::where('winning_bidder_num', $checkout_bidder)

View File

@ -47,7 +47,7 @@
</tr>
@endforeach
</table>
@if($checkout_list_results)
@if($checkout_info_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
@ -57,13 +57,13 @@
Winning Bid:
</th>
</tr>
@foreach($checkout_list_results as $checkout_list_result)
@foreach($checkout_info_results as $checkout_info_result)
<tr>
<td>
{{ $checkout_list_result->items->item_assigned_num }}
{{ $checkout_info_result->items->item_assigned_num }}
</td>
<td>
${{ $checkout_list_result->winning_cost }}
${{ $checkout_info_result->winning_cost }}
</td>
</tr>
@endforeach
@ -79,7 +79,7 @@
</label>
<div class=col-sm-4>
<select name="checkout_payment_method" id="checkout_payment_method" required class=form-control>
<?php echo App\PaymentMethodSelectList::PaymentShowMethods(); ?>
<?php echo App\PaymentMethodSelectinfo::PaymentShowMethods(); ?>
</select>
</div>
</div>