mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-14 01:20:41 +00:00
[minor] fixed update item name in bom patch, removed filter from sales invoice list, show tax calculation only if tax exists
This commit is contained in:
@@ -793,8 +793,13 @@ erpnext.TransactionController = erpnext.stock.StockController.extend({
|
||||
|
||||
show_item_wise_taxes: function() {
|
||||
if(this.frm.fields_dict.other_charges_calculation) {
|
||||
$(this.get_item_wise_taxes_html())
|
||||
.appendTo($(this.frm.fields_dict.other_charges_calculation.wrapper).empty());
|
||||
var html = this.get_item_wise_taxes_html();
|
||||
if (html) {
|
||||
this.frm.toggle_display("other_charges_calculation", true);
|
||||
$(this.frm.fields_dict.other_charges_calculation.wrapper).html(html);
|
||||
} else {
|
||||
this.frm.toggle_display("other_charges_calculation", false);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user