mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-22 11:44:11 +00:00
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,
|
in_list_view: 1,
|
||||||
label: __("Opening Amount"),
|
label: __("Opening Amount"),
|
||||||
options: "company:company_currency",
|
options: "company:company_currency",
|
||||||
change: function () {
|
onchange: function () {
|
||||||
dialog.fields_dict.balance_details.df.data.some((d) => {
|
dialog.fields_dict.balance_details.df.data.some((d) => {
|
||||||
if (d.idx == this.doc.idx) {
|
if (d.idx == this.doc.idx) {
|
||||||
d.opening_amount = this.value;
|
d.opening_amount = this.value;
|
||||||
|
|||||||
Reference in New Issue
Block a user