Skip to content

Commit

Permalink
fix: change field-type to remove currency field from total row in export
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh6790 committed May 23, 2023
1 parent 75f4a61 commit f65be40
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions erpnext/payroll/report/salary_register/salary_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,7 @@ def get_columns(earning_types, ded_types):
"fieldname": "payment_days",
"fieldtype": "Float",
"width": 120,
},
{
"label": _("Currency"),
"fieldname": "currency",
"fieldtype": "Link",
"options": "Currency",
"hidden": 1,
},
}
]

for earning in earning_types:
Expand Down Expand Up @@ -247,6 +240,13 @@ def get_columns(earning_types, ded_types):
"options": "currency",
"width": 120,
},
{
"label": _("Currency"),
"fieldname": "currency",
"fieldtype": "Data",
"options": "Currency",
"hidden": 1,
},
]
)

Expand Down

0 comments on commit f65be40

Please sign in to comment.