diff --git a/static/js/pos_payment.js b/static/js/pos_payment.js
index d0e0ce5..ee3c6c0 100644
--- a/static/js/pos_payment.js
+++ b/static/js/pos_payment.js
@@ -27,6 +27,7 @@ function addPayment(type, icon, text) {
amount = ($("#owed-amount").text() * 1.0).toFixed(2);
}
}
+
$("#payment-lines").append(''
+ '
'
+ '
'
@@ -59,6 +60,13 @@ function addPayment(type, icon, text) {
+ '
'
+ '
');
$("#payment-lines .payment-entry").last().focus();
+
+ if (type == "cash") {
+ bsmoneypad("Currency Calculator", 0.0, "Save", "Cancel", null, function (answer) {
+ $("#payment-lines .payment-entry").last().val(answer);
+ recalculate();
+ });
+ }
}
function checkGiftCardBalance() {