fix: sider issue
This commit is contained in:
parent
50c276f64f
commit
53addfda15
@ -30,12 +30,17 @@ def execute(filters=None):
|
|||||||
bal = flt(credit_limit) - flt(outstanding_amt)
|
bal = flt(credit_limit) - flt(outstanding_amt)
|
||||||
|
|
||||||
if customer_naming_type == "Naming Series":
|
if customer_naming_type == "Naming Series":
|
||||||
row = [d.name, d.customer_name, credit_limit, outstanding_amt, bal,
|
row = [
|
||||||
d.bypass_credit_limit_check, d.is_frozen,
|
d.name, d.customer_name, credit_limit,
|
||||||
d.disabled]
|
outstanding_amt, bal, d.bypass_credit_limit_check,
|
||||||
|
d.is_frozen, d.disabled
|
||||||
|
]
|
||||||
else:
|
else:
|
||||||
row = [d.name, credit_limit, outstanding_amt, bal,
|
row = [
|
||||||
d.bypass_credit_limit_check, d.is_frozen, d.disabled]
|
d.name, credit_limit, outstanding_amt, bal,
|
||||||
|
d.bypass_credit_limit_check, d.is_frozen,
|
||||||
|
d.disabled
|
||||||
|
]
|
||||||
|
|
||||||
if credit_limit:
|
if credit_limit:
|
||||||
data.append(row)
|
data.append(row)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user