(Codacy Fix) Fixed indenttion
diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js
index d8bf1bd..38b42b7 100755
--- a/erpnext/public/js/utils.js
+++ b/erpnext/public/js/utils.js
@@ -109,16 +109,16 @@
erpnext.utils.add_indicator_for_multicompany(frm, info);
});
} else if (company_wise_info.length === 1) {
- frm.dashboard.add_indicator(__('Annual Billing: {0}',
- [format_currency(company_wise_info[0].billing_this_year, company_wise_info[0].currency)]), 'blue');
- frm.dashboard.add_indicator(__('Total Unpaid: {0}',
- [format_currency(company_wise_info[0].total_unpaid, company_wise_info[0].currency)]),
- company_wise_info[0].total_unpaid ? 'orange' : 'green');
+ frm.dashboard.add_indicator(__('Annual Billing: {0}',
+ [format_currency(company_wise_info[0].billing_this_year, company_wise_info[0].currency)]), 'blue');
+ frm.dashboard.add_indicator(__('Total Unpaid: {0}',
+ [format_currency(company_wise_info[0].total_unpaid, company_wise_info[0].currency)]),
+ company_wise_info[0].total_unpaid ? 'orange' : 'green');
- if(company_wise_info[0].loyalty_points) {
- frm.dashboard.add_indicator(__('Loyalty Points: {0}',
- [company_wise_info[0].loyalty_points]), 'blue');
- }
+ if(company_wise_info[0].loyalty_points) {
+ frm.dashboard.add_indicator(__('Loyalty Points: {0}',
+ [company_wise_info[0].loyalty_points]), 'blue');
+ }
}
}
},