mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 01:25:07 +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 = []
|
||||
for ss in salary_slips:
|
||||
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.department == None: columns[4] = columns[4].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:
|
||||
@@ -117,4 +117,4 @@ def get_ss_ded_map(salary_slips):
|
||||
ss_ded_map.setdefault(d.parent, frappe._dict()).setdefault(d.salary_component, [])
|
||||
ss_ded_map[d.parent][d.salary_component] = flt(d.amount)
|
||||
|
||||
return ss_ded_map
|
||||
return ss_ded_map
|
||||
|
||||
Reference in New Issue
Block a user