mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
fix: Added invoice discounting dashboard
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
from frappe import _
|
||||||
|
|
||||||
|
def get_data():
|
||||||
|
return {
|
||||||
|
'fieldname': 'reference_name',
|
||||||
|
'internal_links': {
|
||||||
|
'Sales Invoice': ['invoices', 'sales_invoice']
|
||||||
|
},
|
||||||
|
'transactions': [
|
||||||
|
{
|
||||||
|
'label': _('Reference'),
|
||||||
|
'items': ['Sales Invoice']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'label': _('Payment'),
|
||||||
|
'items': ['Payment Entry', 'Journal Entry']
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -232,6 +232,11 @@ def get_data():
|
|||||||
"label": _("Bank Account"),
|
"label": _("Bank Account"),
|
||||||
"name": "Bank Account",
|
"name": "Bank Account",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "doctype",
|
||||||
|
"label": _("Invoice Discounting"),
|
||||||
|
"name": "Invoice Discounting",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "doctype",
|
"type": "doctype",
|
||||||
"label": _("Bank Statement Transaction Entry List"),
|
"label": _("Bank Statement Transaction Entry List"),
|
||||||
|
|||||||
Reference in New Issue
Block a user