Skip to content

Commit

Permalink
fix: wrap budget-widget to approval scope (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhyi authored Jan 6, 2021
1 parent 2c54961 commit 3bffb9a
Showing 1 changed file with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,14 @@

<!-- Budget, Requisition, Approval & Quoting Widgets -->
<div class="row">
<ish-lazy-budget-widget class="col-12"></ish-lazy-budget-widget>
<ng-container *ngIf="'services.OrderApprovalServiceDefinition.runnable' | ishServerSetting">
<ish-lazy-budget-widget class="col-12"></ish-lazy-budget-widget>

<ish-lazy-requisition-widget
*ngIf="'services.OrderApprovalServiceDefinition.runnable' | ishServerSetting"
class="col-xs-12 col-md"
></ish-lazy-requisition-widget>
<ish-lazy-requisition-widget class="col-xs-12 col-md"></ish-lazy-requisition-widget>

<ng-container *ishIsAuthorizedTo="'APP_B2B_ORDER_APPROVAL'">
<ish-lazy-approval-widget
*ngIf="'services.OrderApprovalServiceDefinition.runnable' | ishServerSetting"
class="col-xs-12 col-md"
></ish-lazy-approval-widget>
<ng-container *ishIsAuthorizedTo="'APP_B2B_ORDER_APPROVAL'">
<ish-lazy-approval-widget class="col-xs-12 col-md"></ish-lazy-approval-widget>
</ng-container>
</ng-container>

<ish-lazy-quote-widget class="col-xs-12 col-md"></ish-lazy-quote-widget>
Expand Down

0 comments on commit 3bffb9a

Please sign in to comment.