|
@@ -42,7 +42,7 @@
|
|
|
<span class="mr-3">Status:</span>
|
|
|
<?php $statuses = ['CREATED', 'PRINTED', 'BEING_PICKED', 'PICKED', 'BEING_SCANNED', 'SCANNED', 'BEING_FULFILLED', 'FULFILLED', 'DISPATCHED']; ?>
|
|
|
@foreach($statuses as $status)
|
|
|
- <button class="btn btn-sm {{ $shipment->status === $status ? 'btn-info font-weight-bold' : 'btn-outline-info change-status bg-white' }}"
|
|
|
+ <button class="btn btn-sm {{ $shipment->status === $status ? 'btn-info font-weight-bold' : 'btn-outline-info change-status' }}"
|
|
|
data-status="{{$status}}">
|
|
|
{{cleanStatus($status)}}
|
|
|
</button>
|
|
@@ -88,7 +88,9 @@
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0">Item</th>
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0">IMEI</th>
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0">Lot #</th>
|
|
|
+ @if(in_array($shipment->status, ['CREATED', 'PRINTED', 'BEING_PICKED', 'PICKED']))
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0 only-screen"> </th>
|
|
|
+ @endif
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
@@ -149,6 +151,7 @@
|
|
|
|
|
|
</div>
|
|
|
</td>
|
|
|
+ @if(in_array($shipment->status, ['CREATED', 'PRINTED', 'BEING_PICKED', 'PICKED']))
|
|
|
<td class="px-2 only-screen">
|
|
|
<div moe relative>
|
|
|
<a start show class="py-0 text-danger">Remove</a>
|
|
@@ -163,6 +166,7 @@
|
|
|
</form>
|
|
|
</div>
|
|
|
</td>
|
|
|
+ @endif
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
</tbody>
|