style: Add missing semicolons
- & make formatting consistent
This commit is contained in:
parent
ff935b4586
commit
82d0a1a13e
@ -334,7 +334,7 @@ erpnext.accounts.JournalEntry = frappe.ui.form.Controller.extend({
|
||||
+ ((value==null || value==="") ? "" : format_currency(Math.abs(value), currency))
|
||||
+ " " + dr_or_cr
|
||||
+ "</div>";
|
||||
}
|
||||
};
|
||||
this.frm.fields_dict.accounts.grid.update_docfield_property('balance', 'formatter', formatter);
|
||||
this.frm.fields_dict.accounts.grid.update_docfield_property('party_balance', 'formatter', formatter);
|
||||
},
|
||||
|
@ -236,7 +236,7 @@ erpnext.accounts.PaymentReconciliationController = frappe.ui.form.Controller.ext
|
||||
if (invoices) {
|
||||
this.frm.fields_dict.payment.grid.update_docfield_property(
|
||||
'invoice_number', 'options', "\n" + invoices.join("\n")
|
||||
)
|
||||
);
|
||||
|
||||
$.each(me.frm.doc.payments || [], function(i, p) {
|
||||
if(!in_list(invoices, cstr(p.invoice_number))) p.invoice_number = null;
|
||||
|
@ -119,9 +119,11 @@ frappe.ui.form.on('Salary Structure', {
|
||||
let fields_read_only = ["is_tax_applicable", "is_flexible_benefit", "variable_based_on_taxable_salary"];
|
||||
fields_read_only.forEach(function(field) {
|
||||
frm.fields_dict.earnings.grid.update_docfield_property(
|
||||
field, 'read_only', 1);
|
||||
field, 'read_only', 1
|
||||
);
|
||||
frm.fields_dict.deductions.grid.update_docfield_property(
|
||||
field, 'read_only', 1);
|
||||
field, 'read_only', 1
|
||||
);
|
||||
});
|
||||
frm.trigger('set_earning_deduction_component');
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user