<div
  [id]="id"
  class="card-container"
  [ngClass]="{
    'customer-card': order.shelfOrderItemLevel === 0,
    'order-card': order.shelfOrderItemLevel === 1,
    'last-item': last
  }"
  *ngIf="order"
  (click)="details()"
>
  <div class="content-container">
    <span class="customer-name" *ngIf="order.shelfOrderItemLevel === 0">{{ order.firstName }} {{ order.lastName }}</span>
    <span class="customer-name" *ngIf="order.shelfOrderItemLevel !== 0"></span>
    <div class="order-details">
      <app-shelf-order-item [order]="order"></app-shelf-order-item>
    </div>
  </div>
</div>
