feat: add Bank Account to dashboards

This commit is contained in:
Raffael Meyer 2020-04-28 18:56:47 +02:00
parent 2b73dbeae0
commit 49bb8ccd2e
5 changed files with 22 additions and 12 deletions

View File

@ -23,11 +23,7 @@ def get_data():
},
{
'label': _('Payments'),
'items': ['Payment Entry']
},
{
'label': _('Bank'),
'items': ['Bank Account']
'items': ['Payment Entry', 'Bank Account']
},
{
'label': _('Pricing'),

View File

@ -6,6 +6,9 @@ def get_data():
'heatmap': True,
'heatmap_message': _('This is based on the attendance of this Student'),
'fieldname': 'student',
'non_standard_fieldnames': {
'Bank Account': 'party'
},
'transactions': [
{
'label': _('Admission'),
@ -29,7 +32,7 @@ def get_data():
},
{
'label': _('Fee'),
'items': ['Fees']
'items': ['Fees', 'Bank Account']
}
]
}

View File

@ -6,6 +6,9 @@ def get_data():
'heatmap': True,
'heatmap_message': _('This is based on the attendance of this Employee'),
'fieldname': 'employee',
'non_standard_fieldnames': {
'Bank Account': 'party'
},
'transactions': [
{
'label': _('Leave and Attendance'),
@ -33,7 +36,7 @@ def get_data():
},
{
'label': _('Payroll'),
'items': ['Salary Structure Assignment', 'Salary Slip', 'Additional Salary', 'Timesheet','Employee Incentive', 'Retention Bonus']
'items': ['Salary Structure Assignment', 'Salary Slip', 'Additional Salary', 'Timesheet','Employee Incentive', 'Retention Bonus', 'Bank Account']
},
{
'label': _('Training'),

View File

@ -6,10 +6,17 @@ def get_data():
'heatmap': True,
'heatmap_message': _('Member Activity'),
'fieldname': 'member',
'non_standard_fieldnames': {
'Bank Account': 'party'
},
'transactions': [
{
'label': _('Membership Details'),
'items': ['Membership']
},
{
'label': _('Fee'),
'items': ['Bank Account']
}
]
}

View File

@ -11,7 +11,8 @@ def get_data():
'non_standard_fieldnames': {
'Payment Entry': 'party',
'Quotation': 'party_name',
'Opportunity': 'party_name'
'Opportunity': 'party_name',
'Bank Account': 'party'
},
'dynamic_links': {
'party_name': ['Customer', 'quotation_to']
@ -27,7 +28,7 @@ def get_data():
},
{
'label': _('Payments'),
'items': ['Payment Entry']
'items': ['Payment Entry', 'Bank Account']
},
{
'label': _('Support'),