fix: pos opening entry dialog not saving on change data (#46066)
(cherry picked from commit 8e6959dfad)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
This commit is contained in:
@@ -40,7 +40,7 @@ erpnext.PointOfSale.Controller = class {
|
||||
in_list_view: 1,
|
||||
label: __("Opening Amount"),
|
||||
options: "company:company_currency",
|
||||
change: function () {
|
||||
onchange: function () {
|
||||
dialog.fields_dict.balance_details.df.data.some((d) => {
|
||||
if (d.idx == this.doc.idx) {
|
||||
d.opening_amount = this.value;
|
||||
|
||||
Reference in New Issue
Block a user