|
@@ -410,6 +410,48 @@
|
|
@if($supplyOrder->cancellation_memo)
|
|
@if($supplyOrder->cancellation_memo)
|
|
<div class="text-sm text-secondary font-italic mt-1">{{$supplyOrder->cancellation_memo}}</div>
|
|
<div class="text-sm text-secondary font-italic mt-1">{{$supplyOrder->cancellation_memo}}</div>
|
|
@endif
|
|
@endif
|
|
|
|
+ @if(!$supplyOrder->is_cancellation_acknowledged)
|
|
|
|
+ <div moe bottom relative="" class="mt-1">
|
|
|
|
+ <a start show class="py-0">Acknowledge Cancellation</a>
|
|
|
|
+ <form url="/api/supplyOrder/acknowledgeCancellation">
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $supplyOrder->uid }}">
|
|
|
|
+ <p class="small text-nowrap mb-2">Acknowledge cancellation?</p>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-secondary mb-1 text-sm">Memo</label>
|
|
|
|
+ <textarea type="text" class="form-control form-control-sm"
|
|
|
|
+ name="memo"></textarea>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @else
|
|
|
|
+ <div class="text-secondary font-weight-bold mt-1">
|
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
|
+ Cancellation Acknowledged
|
|
|
|
+ </div>
|
|
|
|
+ @if($supplyOrder->cancellation_acknowledgement_memo)
|
|
|
|
+ <div class="text-sm text-secondary font-italic mt-1">{{$supplyOrder->cancellation_acknowledgement_memo}}</div>
|
|
|
|
+ @endif
|
|
|
|
+ <div moe bottom relative="" class="mt-1">
|
|
|
|
+ <a start show class="py-0">Undo Cancellation Acknowledgement</a>
|
|
|
|
+ <form url="/api/supplyOrder/undoAcknowledgeCancellation">
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $supplyOrder->uid }}">
|
|
|
|
+ <p class="small text-nowrap mb-2">Undo cancellation acknowledgement?</p>
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-secondary mb-1 text-sm">Memo</label>
|
|
|
|
+ <textarea type="text" class="form-control form-control-sm"
|
|
|
|
+ name="memo"></textarea>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|