2
0
mirror of https://github.com/frappe/books.git synced 2024-12-24 11:55:46 +00:00

fix(ui): Payment purpose in the title

This commit is contained in:
18alantom 2022-06-14 16:22:37 +05:30
parent daebdb0ea9
commit cf0224eb85

View File

@ -85,7 +85,7 @@ function getCompleteSidebar(): SidebarConfig {
{ {
label: t`Sales Payments`, label: t`Sales Payments`,
name: 'payments', name: 'payments',
route: '/list/Payment/paymentType/Receive', route: `/list/Payment/paymentType/Receive/${t`Sales Payments`}`,
schemaName: 'Payment', schemaName: 'Payment',
}, },
{ {
@ -117,7 +117,7 @@ function getCompleteSidebar(): SidebarConfig {
{ {
label: t`Purchase Payments`, label: t`Purchase Payments`,
name: 'payments', name: 'payments',
route: '/list/Payment/paymentType/Pay', route: `/list/Payment/paymentType/Pay/${t`Purchase Payments`}`,
schemaName: 'Payment', schemaName: 'Payment',
}, },
{ {