<table class="table mt-2 mb-4 modal-table">
  <thead>
    <tr>
      <th class="border-top-0">{{ 'Min QTY' | translate }}</th>
      <th class="border-top-0">{{ 'Max QTY' | translate }}</th>
      <th class="border-top-0">
        {{ (product()?.wholesale_price_type === 'fixed' ? 'Unit Price' : 'Percentage' ) | translate
        }}
      </th>
    </tr>
  </thead>
  <tbody>
    @for(wholesale of product()?.wholesales; track wholesale){
    <tr>
      <td>{{ wholesale.min_qty }}</td>
      <td>{{ wholesale.max_qty }}</td>
      <td>
        {{ (product()?.wholesale_price_type === 'fixed'? (wholesale.value | currencySymbol) :
        wholesale.value +'% Off') }}
      </td>
    </tr>
    }
  </tbody>
</table>
