All files / projects/requisition-management/src/app/components/checkout-receipt-requisition checkout-receipt-requisition.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 26 27 28 29 30 31 32 33 34 35 361x                                                                      
<div *ngIf="basket">
  <h1>
    {{ 'checkout.cart_for_approval.title' | translate }}
  </h1>
  <div>
    <p *ngIf="requisition$ | async as req">
      {{ 'checkout.id_of_order.label' | translate
      }}<strong data-testing-id="order-document-number"
        >&nbsp;
        <a
          [routerLink]="['/account/requisitions/buyer/' + req.id, { status: 'PENDING' }]"
          data-testing-id="requisition-number"
          >{{ req.requisitionNo }}</a
        >
      </strong>
    </p>
 
    <p>{{ 'approval.cart.order_has_been_submitted' | translate }}</p>
    <div *ngIf="basket.customerNo; else notifyAnonymous">
      <p
        [ishServerHtml]="
          'approval.cart.once_order_approved'
            | translate : { '0': 'route://account/requisitions/buyer', '1': 'route://account' }
        "
      ></p>
      <p [innerHTML]="'approval.cart.notification.mail.text' | translate : { '0': basket.email }"></p>
    </div>
    <ng-template #notifyAnonymous>
      <p [innerHTML]="'approval.cart.notification.mail.text' | translate : { '0': basket.invoiceToAddress.email }"></p>
    </ng-template>
    <div>
      <ish-basket-approval-info *ngIf="basket.approval" [approval]="basket.approval" />
    </div>
  </div>
</div>