Skip to content

Commit

Permalink
feat: added pricig rule to sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayitzme committed Jan 30, 2024
1 parent b2f4661 commit 3ed9b5c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/utils/sidebarConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,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(),
Expand Down

0 comments on commit 3ed9b5c

Please sign in to comment.