|
@@ -688,21 +688,6 @@
|
|
|
</div>
|
|
|
</form>
|
|
|
</span>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
-
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Update Cancellation Memo</a>
|
|
|
- <form url="/api/bill/updateCancellationMemo">
|
|
|
- <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
- <p>Update Cancellation Memo</p>
|
|
|
- <div class="mb-0">
|
|
|
- <input type="text" class="text form-control form-control-sm" name="updateCancellationMemo" value="{{$bill->cancellation_memo}}" placeholder=""><br>
|
|
|
- <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
- <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </span>
|
|
|
-
|
|
|
@endif
|
|
|
@endif
|
|
|
@if($bill->is_cancelled)
|
|
@@ -710,6 +695,19 @@
|
|
|
<span class="d-block text-secondary">
|
|
|
Cancelled
|
|
|
</span>
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
+ <span class="d-block" moe>
|
|
|
+ <a class="text-danger" href="" show start>Update Cancellation Memo</a>
|
|
|
+ <form url="/api/bill/updateCancellationMemo">
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
+ <p>Update Cancellation Memo</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <input type="text" class="text form-control form-control-sm" name="updateCancellationMemo" value="{{$bill->cancellation_memo}}" placeholder=""><br>
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
@else
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
|
<span class="d-block" moe>
|
|
@@ -717,6 +715,10 @@
|
|
|
<form url="/api/bill/markCancelled">
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
<p>Cancel this bill?</p>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label class="mb-1 text-secondary">Cancellation Memo</label>
|
|
|
+ <input type="text" name="memo" placeholder="Memo">
|
|
|
+ </div>
|
|
|
<div class="mb-0">
|
|
|
<button class="btn btn-danger btn-sm" submit>Yes</button>
|
|
|
<button class="btn btn-default border btn-sm" cancel>No</button>
|