mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
salary register issue fixed
This commit is contained in:
@@ -37,7 +37,7 @@ col.append(['Arrear Amount','Currency','150px',''])
|
|||||||
col.append(['Encashment Amount','Currency','170px',''])
|
col.append(['Encashment Amount','Currency','170px',''])
|
||||||
col.append(['Gross Pay','Currency','150px',''])
|
col.append(['Gross Pay','Currency','150px',''])
|
||||||
for d in ded_heads:
|
for d in ded_heads:
|
||||||
l = (len(d)*9)
|
l = (len(cstr(d))*9)
|
||||||
if l < 150 : col_width = '150px'
|
if l < 150 : col_width = '150px'
|
||||||
else: col_width = '%spx'%(l)
|
else: col_width = '%spx'%(l)
|
||||||
col.append([d,'Currency',col_width,''])
|
col.append([d,'Currency',col_width,''])
|
||||||
|
|||||||
Reference in New Issue
Block a user