Add change text on receipt dialog
This commit is contained in:
parent
b869445b6e
commit
855dbca1e1
@ -15,6 +15,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
<div class="display-4"><?php lang("change"); ?>: $<span id="receiptchange">0.00</span></div>
|
||||||
<iframe class="w-100" id="receiptframe"></iframe>
|
<iframe class="w-100" id="receiptframe"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
@ -45,6 +45,7 @@ function recalculate() {
|
|||||||
$("#paid-amount").text(paid.toFixed(2));
|
$("#paid-amount").text(paid.toFixed(2));
|
||||||
$("#owed-amount").text(remaining.toFixed(2));
|
$("#owed-amount").text(remaining.toFixed(2));
|
||||||
$("#change-amount").text(change.toFixed(2));
|
$("#change-amount").text(change.toFixed(2));
|
||||||
|
$("#receiptchange").text(change.toFixed(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user