mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-28 16:25:05 +00:00
Update pricing role checks (#893)
* Update pricing role checks Ref: https://github.com/inventree/InvenTree/pull/13034 * Update release notes
This commit is contained in:
1 parent
7554bbdfa2
commit
a76675dd4d
5 files changed
+28
-6
No files matched your search
@@ -158,10 +158,9 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
||||
false,
|
||||
);
|
||||
|
||||
showPricing = await InvenTreeSettingsManager().getBool(
|
||||
INV_PART_SHOW_PRICING,
|
||||
true,
|
||||
);
|
||||
showPricing =
|
||||
api.canViewPricing &&
|
||||
await InvenTreeSettingsManager().getBool(INV_PART_SHOW_PRICING, true);
|
||||
showBom = await InvenTreeSettingsManager().getBool(INV_PART_SHOW_BOM, true);
|
||||
allowLabelPrinting = await InvenTreeSettingsManager().getBool(
|
||||
INV_ENABLE_LABEL_PRINTING,
|
||||
|
||||
Reference in new issue
Block a user