2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 14:50:56 +00:00

feat: added pricig rule to sidebar

This commit is contained in:
akshayitzme 2024-01-30 18:26:19 +05:30
parent 33f82f8eae
commit 86f6571b9d

View File

@ -279,6 +279,13 @@ function getCompleteSidebar(): SidebarConfig {
schemaName: 'PriceList',
hidden: () => !fyo.singles.AccountingSettings?.enablePriceList,
},
{
label: t`Pricing Rule`,
name: 'pricing-rule',
route: '/list/PricingRule',
schemaName: 'PricingRule',
hidden: () => !fyo.singles.AccountingSettings?.enablePricingRule,
},
] as SidebarItem[],
},
getReportSidebar(),