chore: resolve conflicts
This commit is contained in:
@@ -476,10 +476,7 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
|||||||
});
|
});
|
||||||
this.frm.trigger("calculate_timesheet_totals");
|
this.frm.trigger("calculate_timesheet_totals");
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
<<<<<<< HEAD
|
|
||||||
});
|
|
||||||
=======
|
|
||||||
|
|
||||||
is_cash_or_non_trade_discount() {
|
is_cash_or_non_trade_discount() {
|
||||||
this.frm.set_df_property("additional_discount_account", "hidden", 1 - this.frm.doc.is_cash_or_non_trade_discount);
|
this.frm.set_df_property("additional_discount_account", "hidden", 1 - this.frm.doc.is_cash_or_non_trade_discount);
|
||||||
@@ -487,8 +484,8 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
|
|||||||
this.frm.set_value("additional_discount_account", "");
|
this.frm.set_value("additional_discount_account", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
|
||||||
>>>>>>> 169ff5a0dd (feat: Cash and Non trade discounts in Sales Invoice)
|
});
|
||||||
|
|
||||||
// for backward compatibility: combine new and previous states
|
// for backward compatibility: combine new and previous states
|
||||||
$.extend(cur_frm.cscript, new erpnext.accounts.SalesInvoiceController({frm: cur_frm}));
|
$.extend(cur_frm.cscript, new erpnext.accounts.SalesInvoiceController({frm: cur_frm}));
|
||||||
|
|||||||
Reference in New Issue
Block a user