crewsportswear update as of 3_18_19

This commit is contained in:
Frank John Begornia
2019-03-18 13:48:37 +08:00
parent 562f03488a
commit a2d88bc52e
71 changed files with 5443 additions and 85 deletions

View File

@@ -63,12 +63,17 @@
<div class="row">
<div class="col-md-3">
<div class="text-center">
<img class="previewImage" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $item->DesignCode }}{{ $thumb_display }}">
@foreach($img_thumb as $img)
@if($img->ProductId == $item->ProductId)
<img class="previewImage" src="http://{{ config('site_config.prod_private_server_ip') }}/images/{{ $img->Image }}">
@endif
@endforeach
</div>
</div>
<div class="col-md-9">
<h4><a href="{{ url('teamstore') . '/' . $item->StoreURL . '/' . 'product/' . $item->ProductURL }}">{{ $item->ProductName }}</a></h4>
<p>Total Price: ${{ $item->total_price }} &bull; Row(s): {{ $item->qty }} </p>
<p>Total Price: ${{ $item->total_price * $item->total_qty }} &bull; Row(s): {{ $item->qty }} </p>
<div class="table-responsive">
<table class="table table-striped table-condensed">
@@ -97,6 +102,26 @@
<th></th>
</tr>
@elseif($item->FormUsed=="name-number-form")
<tr>
<th>Name</th>
<th>Number</th>
<th>Price</th>
<th>Quantity</th>
<th></th>
</tr>
@elseif($item->FormUsed=="name-number-size-form")
<tr>
<th>Name</th>
<th>Number</th>
<th>Size</th>
<th>Price</th>
<th>Quantity</th>
<th></th>
</tr>
@else
@endif
@@ -128,7 +153,23 @@
<td>{{ $sub_item->Quantity }}</td>
<td><a class="btn btn-xs btn-link pull-right" href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><span class="glyphicon glyphicon-remove"></span></a></td>
</tr>
@elseif($item->FormUsed=="name-number-form")
<tr>
<td>{{ $sub_item->Name }}</td>
<td>{{ $sub_item->Number }}</td>
<td>{{ $sub_item->Price }}</td>
<td>{{ $sub_item->Quantity }}</td>
<td><a class="btn btn-xs btn-link pull-right" href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><span class="glyphicon glyphicon-remove"></span></a></td>
</tr>
@elseif($item->FormUsed=="name-number-size-form")
<tr>
<td>{{ $sub_item->Name }}</td>
<td>{{ $sub_item->Number }}</td>
<td>{{ $sub_item->Size }}</td>
<td>{{ $sub_item->Price }}</td>
<td>{{ $sub_item->Quantity }}</td>
<td><a class="btn btn-xs btn-link pull-right" href="{{ url('removeitem') }}/{{ $sub_item->Id }}"><span class="glyphicon glyphicon-remove"></span></a></td>
</tr>
@else
@endif