All files / projects/organization-management/src/app/components/budget-widget budget-widget.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 261x                                                  
<ish-error-message [error]="error$ | async" />
<ish-info-box class="infobox-wrapper" cssClass="infobox-widget">
  <div class="d-flex align-items-start">
    <h2 class="h3 pe-2">{{ 'account.requisitions.widget.budget_title' | translate }}</h2>
    <ish-budget-info />
  </div>
  <div class="loading-container">
    @if (budgetLoading$ | async) {
    <ish-loading />
    } @else {
    <div class="row">
      <div class="col-12">
        <ish-user-budget progressBarClass="background-inverse" [budget]="userBudget$ | async" />
      </div>
    </div>
    <div *ishIsAuthorizedTo="'APP_B2B_MANAGE_USERS'" class="row mt-3">
      <div class="col">
        <a routerLink="/account/organization/users">
          {{ 'account.requisitions.widget.manage_budgets' | translate }}
        </a>
      </div>
    </div>
    }
  </div>
</ish-info-box>