Employee Loan Dashboard
This commit is contained in:
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']
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user