mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 14:58:24 +00:00
fix: resolved conflicts
This commit is contained in:
@@ -110,13 +110,8 @@ erpnext.selling.POSInvoiceController = erpnext.selling.SellingController.extend(
|
||||
this.frm.refresh_field("base_paid_amount");
|
||||
},
|
||||
|
||||
<<<<<<< HEAD
|
||||
write_off_outstanding_amount_automatically: function() {
|
||||
if(cint(this.frm.doc.write_off_outstanding_amount_automatically)) {
|
||||
=======
|
||||
write_off_outstanding_amount_automatically() {
|
||||
if (cint(this.frm.doc.write_off_outstanding_amount_automatically)) {
|
||||
>>>>>>> 332ac105b5 (refactor: use `read_only_depends_on` instead of code (#27008))
|
||||
frappe.model.round_floats_in(this.frm.doc, ["grand_total", "paid_amount"]);
|
||||
// this will make outstanding amount 0
|
||||
this.frm.set_value("write_off_amount",
|
||||
|
||||
@@ -323,13 +323,8 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
||||
this.frm.refresh_fields();
|
||||
},
|
||||
|
||||
<<<<<<< HEAD
|
||||
write_off_outstanding_amount_automatically: function() {
|
||||
if(cint(this.frm.doc.write_off_outstanding_amount_automatically)) {
|
||||
=======
|
||||
write_off_outstanding_amount_automatically() {
|
||||
if (cint(this.frm.doc.write_off_outstanding_amount_automatically)) {
|
||||
>>>>>>> 332ac105b5 (refactor: use `read_only_depends_on` instead of code (#27008))
|
||||
frappe.model.round_floats_in(this.frm.doc, ["grand_total", "paid_amount"]);
|
||||
// this will make outstanding amount 0
|
||||
this.frm.set_value("write_off_amount",
|
||||
|
||||
Reference in New Issue
Block a user