fix semicolons as per codacy review

This commit is contained in:
Abhishek Balam 2020-04-29 11:28:40 +05:30
parent 8dbc4e648b
commit 3b26b24af6
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ frappe.ui.form.on("Journal Entry", {
refresh: function(frm) {
erpnext.toggle_naming_series();
if(frm.doc.docstatus==1) {
frm.add_custom_button(__('Ledger'), function() {
frappe.route_options = {
@ -144,7 +144,7 @@ frappe.ui.form.on("Journal Entry", {
}
}
});
}
}
else if(frm.doc.voucher_type=="Opening Entry") {
return frappe.call({
type:"GET",

View File

@ -30,8 +30,8 @@ frappe.ui.form.on("Journal Entry Template", {
row.account = d.account;
});
refresh_field("accounts");
}
};
if(!frm.doc.company) return;
frm.trigger("clear_child");