fix: Indentation fixes

This commit is contained in:
deepeshgarg007
2019-05-28 16:25:55 +05:30
parent a8cb00f31f
commit e025aabef0

View File

@@ -9,16 +9,16 @@ let doclist = ["GL Entry", "Sales Invoice", "Purchase Invoice", "Payment Entry",
let dimension_filters = erpnext.get_dimension_filters(); let dimension_filters = erpnext.get_dimension_filters();
doclist.forEach((doctype) => { doclist.forEach((doctype) => {
frappe.ui.form.on(doctype, { frappe.ui.form.on(doctype, {
onload: function(frm) { onload: function(frm) {
dimension_filters.then((dimensions) => { dimension_filters.then((dimensions) => {
dimensions.forEach((dimension) => { dimensions.forEach((dimension) => {
frm.set_query(dimension['fieldname'],{ frm.set_query(dimension['fieldname'],{
"is_group": 0 "is_group": 0
});
}); });
}); });
} });
}); }
}) });
})