|
@@ -82,9 +82,6 @@
|
|
<tr class="bg-light">
|
|
<tr class="bg-light">
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Created At</div></th>
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Created At</div></th>
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Supply Orders</div></th>
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Supply Orders</div></th>
|
|
- <th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Label File</div></th>
|
|
|
|
- <th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Courier</div></th>
|
|
|
|
- <th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Tracking #</div></th>
|
|
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Status</div></th>
|
|
<th class="px-2 text-nowrap text-secondary border-bottom-0"><div class="text-ellipsis">Status</div></th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
@@ -97,7 +94,7 @@
|
|
</a>
|
|
</a>
|
|
</td>
|
|
</td>
|
|
<td class="px-2">{{count($iShipment->supplyOrders)}}</td>
|
|
<td class="px-2">{{count($iShipment->supplyOrders)}}</td>
|
|
- <td class="px-2">
|
|
|
|
|
|
+<!-- <td class="px-2">
|
|
@if($iShipment->label_system_file_id)
|
|
@if($iShipment->label_system_file_id)
|
|
<a class="pdf-viewer-trigger" native="" target="_blank"
|
|
<a class="pdf-viewer-trigger" native="" target="_blank"
|
|
href="/api/shipment/downloadLabel/{{$iShipment->uid}}" title="View">
|
|
href="/api/shipment/downloadLabel/{{$iShipment->uid}}" title="View">
|
|
@@ -107,7 +104,7 @@
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
<td class="px-2">{{ $iShipment->courier }}</td>
|
|
<td class="px-2">{{ $iShipment->courier }}</td>
|
|
- <td class="px-2">{{ $iShipment->tracking_number }}</td>
|
|
|
|
|
|
+ <td class="px-2">{{ $iShipment->tracking_number }}</td>-->
|
|
<td class="px-2">{{ $iShipment->status }}</td>
|
|
<td class="px-2">{{ $iShipment->status }}</td>
|
|
</tr>
|
|
</tr>
|
|
@endforeach
|
|
@endforeach
|
|
@@ -124,9 +121,9 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@if($shipment)
|
|
@if($shipment)
|
|
- <div class="min-width-500px ml-2 border align-self-stretch p-3">
|
|
|
|
|
|
+ <div class="min-width-700px ml-2 border align-self-stretch p-3">
|
|
<div class="d-flex align-items-center mb-3">
|
|
<div class="d-flex align-items-center mb-3">
|
|
- <h3 class="font-size-16 m-0">Shipment (created on {{ friendlier_date_time($shipment->created_at) }})</h3>
|
|
|
|
|
|
+ <h3 class="font-size-16 m-0">Shipment (created on {{ friendlier_date_time($shipment->created_at) }}) #{{$shipment->id}}</h3>
|
|
<a class="ml-auto" href="{{route('patients.view.shipments', ['patient' => $patient])}}">
|
|
<a class="ml-auto" href="{{route('patients.view.shipments', ['patient' => $patient])}}">
|
|
<i class="fa fa-times-circle on-hover-opaque"></i>
|
|
<i class="fa fa-times-circle on-hover-opaque"></i>
|
|
</a>
|
|
</a>
|
|
@@ -189,7 +186,7 @@
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
- <div class="mb-4">
|
|
|
|
|
|
+ <div class="mb-3">
|
|
<!-- <label class="mb-2 font-weight-bold text-secondary">Supply Orders in this Shipment</label>-->
|
|
<!-- <label class="mb-2 font-weight-bold text-secondary">Supply Orders in this Shipment</label>-->
|
|
<table class="table table-sm table-striped table-bordered mb-0 bg-white">
|
|
<table class="table table-sm table-striped table-bordered mb-0 bg-white">
|
|
@if($shipment->supplyOrders && count($shipment->supplyOrders))
|
|
@if($shipment->supplyOrders && count($shipment->supplyOrders))
|
|
@@ -204,7 +201,7 @@
|
|
<tbody>
|
|
<tbody>
|
|
@foreach($shipment->supplyOrders as $iSupplyOrder)
|
|
@foreach($shipment->supplyOrders as $iSupplyOrder)
|
|
<tr class="">
|
|
<tr class="">
|
|
- <td class="px-2">{{ $iSupplyOrder->product->title }}</td>
|
|
|
|
|
|
+ <td class="px-2">{{ $iSupplyOrder->product->title }} {{$iSupplyOrder->pack_id ? $iSupplyOrder->pack_id : '(boo)'}}</td>
|
|
<td class="px-2">
|
|
<td class="px-2">
|
|
<div moe relative class="d-block">
|
|
<div moe relative class="d-block">
|
|
<a start show>{{ $iSupplyOrder->imei ? $iSupplyOrder->imei : '(not set)' }}</a>
|
|
<a start show>{{ $iSupplyOrder->imei ? $iSupplyOrder->imei : '(not set)' }}</a>
|
|
@@ -269,6 +266,9 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+ @include('app.patient.partials.packs')
|
|
|
|
+
|
|
|
|
+{{--
|
|
<div class="mb-2 d-flex align-items-baseline">
|
|
<div class="mb-2 d-flex align-items-baseline">
|
|
<label class="text-secondary text-sm mb-0 width-90px mr-2">Ship Date</label>
|
|
<label class="text-secondary text-sm mb-0 width-90px mr-2">Ship Date</label>
|
|
<div moe bottom relative class="d-block">
|
|
<div moe bottom relative class="d-block">
|
|
@@ -315,7 +315,9 @@
|
|
title="View">
|
|
title="View">
|
|
<i class="fa fa-file-pdf text-danger on-hover-opaque"></i>
|
|
<i class="fa fa-file-pdf text-danger on-hover-opaque"></i>
|
|
View
|
|
View
|
|
- {{--{{ $shipment->labelFile->file_name }}--}}
|
|
|
|
|
|
+ --}}
|
|
|
|
+{{--{{ $shipment->labelFile->file_name }}--}}{{--
|
|
|
|
+
|
|
</a>
|
|
</a>
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@endif
|
|
@endif
|
|
@@ -354,6 +356,7 @@
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+--}}
|
|
|
|
|
|
<div class="mb-2 d-flex align-items-baseline">
|
|
<div class="mb-2 d-flex align-items-baseline">
|
|
<label class="text-secondary text-sm mb-0 width-90px mr-2">Status</label>
|
|
<label class="text-secondary text-sm mb-0 width-90px mr-2">Status</label>
|