|
@@ -76,13 +76,14 @@
|
|
|
cleared for shipment
|
|
|
</div>
|
|
|
@endif
|
|
|
- <table class="table table-sm table-bordered mb-0">
|
|
|
+ <table class="table table-sm table-bordered mb-0" style="table-layout: fixed">
|
|
|
@if($patient->shipments && count($patient->shipments))
|
|
|
<thead>
|
|
|
<tr class="bg-light">
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0">Created At</th>
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0">Supply Orders</th>
|
|
|
@if(!$shipment)
|
|
|
+ <th class="px-2 text-nowrap text-secondary border-bottom-0">Label File</th>
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0">Courier</th>
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0">Tracking #</th>
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0">Status</th>
|
|
@@ -99,6 +100,15 @@
|
|
|
</td>
|
|
|
<td class="px-2">{{count($iShipment->supplyOrders)}}</td>
|
|
|
@if(!$shipment)
|
|
|
+ <td class="px-2">
|
|
|
+ @if($iShipment->label_system_file_id)
|
|
|
+ <a class="pdf-viewer-trigger" native="" target="_blank"
|
|
|
+ href="/api/shipment/downloadLabel/{{$iShipment->uid}}" title="View">
|
|
|
+ <i class="fa fa-file-pdf text-danger on-hover-opaque"></i>
|
|
|
+ View
|
|
|
+ </a>
|
|
|
+ @endif
|
|
|
+ </td>
|
|
|
<td class="px-2">{{ $iShipment->courier }}</td>
|
|
|
<td class="px-2">{{ $iShipment->tracking_number }}</td>
|
|
|
<td class="px-2">{{ $iShipment->status }}</td>
|