mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-14 15:11:52 +00:00
Co-authored-by: Ravibharathi <131471282+ravibharathi656@users.noreply.github.com> fix(pos): remove redundant opening balance dialog onchange handler (#54591)
This commit is contained in:
@@ -40,15 +40,6 @@ erpnext.PointOfSale.Controller = class {
|
|||||||
in_list_view: 1,
|
in_list_view: 1,
|
||||||
label: __("Opening Amount"),
|
label: __("Opening Amount"),
|
||||||
options: "company:company_currency",
|
options: "company:company_currency",
|
||||||
onchange: function () {
|
|
||||||
dialog.fields_dict.balance_details.df.data.some((d) => {
|
|
||||||
if (d.idx == this.doc.idx) {
|
|
||||||
d.opening_amount = this.value;
|
|
||||||
dialog.fields_dict.balance_details.grid.refresh();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
const fetch_pos_payment_methods = () => {
|
const fetch_pos_payment_methods = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user