mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
fix: Indentation fixes
This commit is contained in:
@@ -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
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
});
|
||||||
});
|
}
|
||||||
})
|
});
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user