Add change text on receipt dialog

master
Skylar Ittner 6 years ago
parent b869445b6e
commit 855dbca1e1

@ -15,6 +15,7 @@
</button>
</div>
<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>
</div>
<div class="modal-footer">

@ -45,6 +45,7 @@ function recalculate() {
$("#paid-amount").text(paid.toFixed(2));
$("#owed-amount").text(remaining.toFixed(2));
$("#change-amount").text(change.toFixed(2));
$("#receiptchange").text(change.toFixed(2));
}

Loading…
Cancel
Save