All files / src/app/shared/components/line-item/line-item-warranty line-item-warranty.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 212x                                        
<!-- Warranty -->
<ng-container *ngIf="(productHasWarranties$ | async) && pli">
  <div class="row">
    <!-- check if warranty can be edited, else only display its name -->
    <div class="offset-2 col-7 col-md-6 list-item pt-1">
      <ish-product-warranty
        (submitWarranty)="updateLineItemWarranty($event)"
        [selectedWarrantySku]="pli.warranty?.sku"
        [viewType]="editable ? 'select' : 'display'"
      />
    </div>
    <ng-container *ngIf="pli.warranty">
      <!-- Warranty Single Price: ToDo - is not yet available -->
      <div class="col-md-2 d-none d-md-block list-item column-price single-price"></div>
 
      <!-- Warranty Total Price -->
      <div class="col-3 col-md-2 list-item column-price">{{ pli.warranty.price | ishPrice }}</div>
    </ng-container>
  </div>
</ng-container>