{{#if shipments}}
  <section class="account-shipments">
    <h2 class="account-sub-heading">{{lang 'core.account.receipt.shipments.title'}}</h2>

    <table class="table-clean account-shipments-table">
      <tr>
        <th>{{lang 'core.account.receipt.shipments.date'}}</th>
        <th>{{lang 'core.account.receipt.shipments.provider'}}</th>
        <th>{{lang 'core.account.receipt.shipments.link'}}</th>
      </tr>
      {{#each shipments}}
        <tr>
          <td>{{date_shipped}}</td>
          <td>{{shipping_provider}}</td>
          <td>
            {{#if shipping_track.url}}
              <a href="{{shipping_track.url}}">
            {{/if}}

            {{#if show_shipping_method}}
              {{shipping_track.number}} &mdash; {{shipping_method}}
            {{else}}
              {{shipping_track.number}}
            {{/if}}

            {{#if shipping_track.url}}
              </a>
            {{/if}}
          </td>
        </tr>
      {{/each}}
    </table>
  </section>
{{/if}}
