|
@@ -1,13 +1,13 @@
|
|
|
@extends(request()->input('popupmode') ? 'layouts.popup' : 'layouts.patient')
|
|
|
@section('inner-content')
|
|
|
<div class="" id="patient-supply-orders">
|
|
|
- <div class="d-flex align-items-baseline pb-2">
|
|
|
- <h4 class="font-weight-bold m-0 font-size-16">Supply Orders</h4>
|
|
|
+ <div class="d-flex align-items-baseline mb-3">
|
|
|
+ <div class="font-weight-bold m-0 font-size-16">Supply Orders</div>
|
|
|
@if($pro->pro_type === 'ADMIN' || request()->input('note-uid'))
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
|
<div moe large>
|
|
|
<a start show href="#">Add</a>
|
|
|
- <form url="/api/supplyOrder/create" redir="/patients/view/{{ $patient->uid }}/supply-orders/[data]">
|
|
|
+ <form url="/api/supplyOrder/create" redir="/patients/view/{{ $patient->uid }}/supply-orders/[data]{{request()->input('popupmode') ? '?popupmode=1' : ''}}">
|
|
|
|
|
|
{{--@if(!$patient->has_cm_setup_been_performed)
|
|
|
<p class="font-weight-bold alert alert-warning border-warning mb-0">You need to enroll this patient into CM before adding supply orders.</p>
|