<? global $lang;?>
<div class="client-panel client-orders-history box">
  <?= \front\view\ShopClient::client_menu( [
            'active_page' => 'orders'
          ] );?>
  <div class="box-title">
    <?= ucfirst( \S::lang( 'historia-zamowien' ) );?>
  </div>
  <? if ( is_array( $this -> orders ) ): foreach ( $this -> orders as $order ):?>
    <?= \Tpl::view( 'shop-order/order-simple', [
          'order' => $order,
          'statuses' => \shop\Order::order_statuses()
        ] );?>
  <? endforeach; endif;?>
</div>