fix: indentation

This commit is contained in:
rohitwaghchaure 2020-06-28 11:12:20 +05:30 committed by GitHub
parent 08f842d12e
commit d5736711ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
}); });
} }
if(frappe.meta.get_docfield(this.frm.doc.doctype, "pricing_rules")) { if(frappe.meta.get_docfield(this.frm.doc.doctype, "pricing_rules")) {
this.frm.set_indicator_formatter('pricing_rule', function(doc) { this.frm.set_indicator_formatter('pricing_rule', function(doc) {
return (doc.rule_applied) ? "green" : "red"; return (doc.rule_applied) ? "green" : "red";