mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 01:25:07 +00:00
Employee Loan Dashboard
This commit is contained in:
committed by
Nabin Hait
parent
99752e58ec
commit
b87c174898
19
erpnext/hr/doctype/employee_loan/employee_loan_dashboard.py
Normal file
19
erpnext/hr/doctype/employee_loan/employee_loan_dashboard.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return {
|
||||
'fieldname': 'employee',
|
||||
'non_standard_fieldnames': {
|
||||
'Journal Entry': 'reference_name',
|
||||
},
|
||||
'transactions': [
|
||||
{
|
||||
'label': _('Employee'),
|
||||
'items': ['Employee Loan Application', 'Salary Slip']
|
||||
},
|
||||
{
|
||||
'label': _('Account'),
|
||||
'items': ['Journal Entry']
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user