|
@@ -49,8 +49,8 @@
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@foreach($shipment->packs as $pack)
|
|
|
- <?php $packNumber++; ?>
|
|
|
@if($pack->status !== 'DELETED')
|
|
|
+ <?php $packNumber++; ?>
|
|
|
<tr class="">
|
|
|
<td class="px-2">
|
|
|
{{$packNumber}}
|
|
@@ -102,6 +102,7 @@
|
|
|
<a start show class="py-0 text-danger"><i class="fa fa-times-circle text-danger"></i></a>
|
|
|
<form url="/api/pack/updateStatus" right>
|
|
|
<input type="hidden" name="uid" value="{{ $pack->uid }}">
|
|
|
+ <input type="hidden" name="status" value="DELETED">
|
|
|
<p class="small">Remove this package?</p>
|
|
|
<div class="d-flex align-items-center">
|
|
|
<button class="btn btn-sm btn-primary mr-2" submit>Submit</button>
|