Merge pull request #5671 from nabinhait/fixes90
Multiple fixes
diff --git a/erpnext/accounts/page/pos/pos.js b/erpnext/accounts/page/pos/pos.js
index 6d3ef3d..a1a502a 100644
--- a/erpnext/accounts/page/pos/pos.js
+++ b/erpnext/accounts/page/pos/pos.js
@@ -741,6 +741,7 @@
var me = this;
frappe.confirm(__("Do you really want to submit the invoice?"), function () {
me.change_status();
+ frappe.msgprint(__("Sales invoice submitted sucessfully."))
})
},
diff --git a/erpnext/public/js/payment/payments.js b/erpnext/public/js/payment/payments.js
index 4cd12f1..dc0b026 100644
--- a/erpnext/public/js/payment/payments.js
+++ b/erpnext/public/js/payment/payments.js
@@ -131,7 +131,7 @@
bind_amount_change_event: function(){
var me = this;
me.selected_mode.change(function(){
- me.payment_val = $(this).val() || 0.0;
+ me.payment_val = flt($(this).val()) || 0.0;
me.selected_mode.val(format_number(me.payment_val, 2))
me.idx = me.selected_mode.attr("idx")
me.update_paid_amount()