mirror of
https://github.com/frappe/books.git
synced 2025-01-03 07:12:21 +00:00
Merge pull request #977 from AbleKSaju/fix-sidebar-order
fix: moved pricing rule from common to sales in sidebar
This commit is contained in:
commit
9516e5f3a0
@ -216,6 +216,13 @@ function getCompleteSidebar(): SidebarConfig {
|
|||||||
schemaName: 'Lead',
|
schemaName: 'Lead',
|
||||||
hidden: () => !fyo.singles.AccountingSettings?.enableLead,
|
hidden: () => !fyo.singles.AccountingSettings?.enableLead,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: t`Pricing Rule`,
|
||||||
|
name: 'pricing-rule',
|
||||||
|
route: '/list/PricingRule',
|
||||||
|
schemaName: 'PricingRule',
|
||||||
|
hidden: () => !fyo.singles.AccountingSettings?.enablePricingRule,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: t`Coupon Code`,
|
label: t`Coupon Code`,
|
||||||
name: 'coupon-code',
|
name: 'coupon-code',
|
||||||
@ -293,13 +300,6 @@ function getCompleteSidebar(): SidebarConfig {
|
|||||||
schemaName: 'PriceList',
|
schemaName: 'PriceList',
|
||||||
hidden: () => !fyo.singles.AccountingSettings?.enablePriceList,
|
hidden: () => !fyo.singles.AccountingSettings?.enablePriceList,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: t`Pricing Rule`,
|
|
||||||
name: 'pricing-rule',
|
|
||||||
route: '/list/PricingRule',
|
|
||||||
schemaName: 'PricingRule',
|
|
||||||
hidden: () => !fyo.singles.AccountingSettings?.enablePricingRule,
|
|
||||||
},
|
|
||||||
] as SidebarItem[],
|
] as SidebarItem[],
|
||||||
},
|
},
|
||||||
getReportSidebar(),
|
getReportSidebar(),
|
||||||
|
Loading…
Reference in New Issue
Block a user