|
@@ -62,7 +62,22 @@
|
|
|
<td class="px-2">{{ friendlier_date_time($iSupplyOrder->created_at) }}</td>
|
|
|
<td class="px-2">{{ $iSupplyOrder->is_signed_by_pro ? $iSupplyOrder->signedPro->displayName() : '-' }}</td>
|
|
|
<td class="px-2">{{ $iSupplyOrder->is_cancelled ? 'Yes' : 'No' }}</td>
|
|
|
- <td class="px-2">{{ $iSupplyOrder->shipment_id ? $iSupplyOrder->shipment->status : '-' }}</td>
|
|
|
+ <td class="px-2 text-nowrap">
|
|
|
+ @if($iSupplyOrder->shipment_id)
|
|
|
+ <i class="fa fa-building"></i>
|
|
|
+ {{$iSupplyOrder->shipment->status ? $iSupplyOrder->shipment->status : 'CREATED'}}
|
|
|
+ @elseif($iSupplyOrder->is_cleared_for_shipment)
|
|
|
+ <span class="text-info">
|
|
|
+ <i class="fa fa-user-nurse"></i>
|
|
|
+ Cleared for shipment
|
|
|
+ </span>
|
|
|
+ @else
|
|
|
+ <span class="text-warning-mellow">
|
|
|
+ <i class="fa fa-user-nurse"></i>
|
|
|
+ Not cleared for shipment
|
|
|
+ </span>
|
|
|
+ @endif
|
|
|
+ </td>
|
|
|
@endif
|
|
|
</tr>
|
|
|
@endforeach
|