All files / src/app/pages/checkout-receipt/checkout-receipt-order checkout-receipt-order.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 352x                                                                    
<div *ngIf="order">
  <div class="cart-header">
    <h1 class="d-flex flex-wrap align-items-baseline">
      <span class="cart-header-title">{{ 'checkout.receipt.tankyou.message' | translate }}</span>
      <span class="header-note">
        <span>{{ 'shopping_cart.transaction.text' | translate }}</span>
        <ish-modal-dialog-link
          linkText="shopping_cart.read_more.link"
          [options]="{ titleText: 'checkout.safeandsecure.details.title' | translate, size: 'lg' }"
          class="details-link"
        >
          <ish-content-include includeId="include.dialog.safeAndSecure.pagelet2-Include" *ishLazyLoadingContent />
        </ish-modal-dialog-link>
      </span>
    </h1>
  </div>
  <p *ngIf="order.statusCode === 'PENDING'" class="alert alert-info">
    {{ 'checkout.receipt.order_pending.message' | translate }}
  </p>
 
  <!-- Receipt message -->
  <div class="section">
    <p>
      <span>{{ 'checkout.order.number.label' | translate }}</span>
      <strong data-testing-id="order-document-number">
        <a *ngIf="order.customerNo; else plainOrderNo" [routerLink]="'/account/orders/' + order.id">
          {{ order.documentNo }}</a
        >
        <ng-template #plainOrderNo> {{ order.documentNo }}</ng-template>
      </strong>
    </p>
    <p [innerHTML]="'checkout.receipt.notification.mail.text' | translate : { '0': order.invoiceToAddress.email }"></p>
  </div>
</div>