undo checkout conversion
This commit is contained in:
@ -6,48 +6,53 @@
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Checkout</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<form id="checkout_form" required method="post" action="/checkout" enctype="multipart/form-data" class=form-horizontal>
|
||||
{{ csrf_field() }}
|
||||
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
|
||||
@foreach($checkout_info_results as $checkout_info_result)
|
||||
@php
|
||||
$bidnum = $checkout_info_result->idbidders;
|
||||
$totaldue = $checkout_info_result->total_cost;
|
||||
@endphp
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
<h2>
|
||||
Bidder Number: {{ $checkout_info_result->bidders->bidder_assigned_number }}
|
||||
Bidder Number: {{ $checkout_info_result->bidder_assigned_number }}
|
||||
</h2>
|
||||
</th>
|
||||
<th colspan="2">
|
||||
<h2>
|
||||
Total: ${{ $checkout_cost_result }}
|
||||
Total: ${{ $checkout_info_result->total_cost }}
|
||||
</h2>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
Name: {{ $checkout_info_result->bidders->bidder_fname }} {{ $checkout_info_result->bidders->bidder_lname }}
|
||||
Name: {{ $checkout_info_result->bidder_fname }} {{ $checkout_info_result->bidder_lname }}
|
||||
</th>
|
||||
<th colspan="2">
|
||||
Phone Number: {{ $checkout_info_result->bidders->bidder_phone }}
|
||||
Phone Number: {{ $checkout_info_result->bidder_phone }}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Address: {{ $checkout_info_result->bidders->bidder_addr }}
|
||||
Address: {{ $checkout_info_result->bidder_addr }}
|
||||
</th>
|
||||
<th>
|
||||
City: {{ $checkout_info_result->bidders->bidder_city }}
|
||||
City: {{ $checkout_info_result->bidder_city }}
|
||||
</th>
|
||||
<th>
|
||||
State: {{ $checkout_info_result->bidders->bidder_state }}
|
||||
State: {{ $checkout_info_result->bidder_state }}
|
||||
</th>
|
||||
<th>
|
||||
Zip: {{ $checkout_info_result->bidders->bidder_zip }}
|
||||
Zip: {{ $checkout_info_result->bidder_zip }}
|
||||
</th>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
@if($checkout_info_results)
|
||||
@if($checkout_list_results)
|
||||
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
|
||||
<tr>
|
||||
<th>
|
||||
@ -57,13 +62,13 @@
|
||||
Winning Bid:
|
||||
</th>
|
||||
</tr>
|
||||
@foreach($checkout_info_results as $checkout_info_result)
|
||||
@foreach($checkout_list_results as $checkout_list_result)
|
||||
<tr>
|
||||
<td>
|
||||
{{ $checkout_info_result->items->item_assigned_num }}
|
||||
{{ $checkout_list_result->item_assigned_num }}
|
||||
</td>
|
||||
<td>
|
||||
${{ $checkout_info_result->winning_cost }}
|
||||
${{ $checkout_list_result->winning_cost }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@ -79,7 +84,7 @@
|
||||
</label>
|
||||
<div class=col-sm-4>
|
||||
<select name="checkout_payment_method" id="checkout_payment_method" required class=form-control>
|
||||
<?php echo App\PaymentMethodSelectinfo::PaymentShowMethods(); ?>
|
||||
<?php echo App\PaymentMethodSelectList::PaymentShowMethods(); ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@ -104,8 +109,8 @@
|
||||
<button type="submit" value="Submit" class="btn btn-primary">Checkout</button>
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="winnertotal" value={{ $checkout_cost_result }}>
|
||||
<input type="hidden" name="checkoutbiddernum" value={{ $checkout_info_result->bidders->idbidders }}>
|
||||
<input type="hidden" name="winnertotal" value={{ $totaldue }}>
|
||||
<input type="hidden" name="checkoutbiddernum" value={{ $bidnum }}>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user