mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix: leave without pay spelling in salary register (#17938)
* leave without pay spelling in salary register * fixed typo
This commit is contained in:
committed by
Nabin Hait
parent
86b33b2a10
commit
dc24fe60be
@@ -19,12 +19,12 @@ def execute(filters=None):
|
|||||||
data = []
|
data = []
|
||||||
for ss in salary_slips:
|
for ss in salary_slips:
|
||||||
row = [ss.name, ss.employee, ss.employee_name, ss.branch, ss.department, ss.designation,
|
row = [ss.name, ss.employee, ss.employee_name, ss.branch, ss.department, ss.designation,
|
||||||
ss.company, ss.start_date, ss.end_date, ss.leave_withut_pay, ss.payment_days]
|
ss.company, ss.start_date, ss.end_date, ss.leave_without_pay, ss.payment_days]
|
||||||
|
|
||||||
if not ss.branch == None:columns[3] = columns[3].replace('-1','120')
|
if not ss.branch == None:columns[3] = columns[3].replace('-1','120')
|
||||||
if not ss.department == None: columns[4] = columns[4].replace('-1','120')
|
if not ss.department == None: columns[4] = columns[4].replace('-1','120')
|
||||||
if not ss.designation == None: columns[5] = columns[5].replace('-1','120')
|
if not ss.designation == None: columns[5] = columns[5].replace('-1','120')
|
||||||
if not ss.leave_withut_pay == None: columns[9] = columns[9].replace('-1','130')
|
if not ss.leave_without_pay == None: columns[9] = columns[9].replace('-1','130')
|
||||||
|
|
||||||
|
|
||||||
for e in earning_types:
|
for e in earning_types:
|
||||||
|
|||||||
Reference in New Issue
Block a user