diff --git a/erpnext/hr/doctype/employee_loan/employee_loan_dashboard.py b/erpnext/hr/doctype/employee_loan/employee_loan_dashboard.py new file mode 100644 index 0000000000..20ce69e763 --- /dev/null +++ b/erpnext/hr/doctype/employee_loan/employee_loan_dashboard.py @@ -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'] + } + ] + } \ No newline at end of file