<h1>{{@page_data.title}}</h1>
<div class="taps_list" href="/receipts/select_tap">
  <div class="reload">
    <repeat group="{{@taps}}" value="{{@tap}}">
      <form action="/receipts/add_line" class="turn_div" method="POST">
        <div class="tap select_tap">
          <input type="hidden" name="product_id" value="{{@GET.product_id}}">
          <input type="hidden" name="count" value="{{@GET.count}}">
          <input type="hidden" name="mark[]" value="{{str_replace('\u001d', @base_settings['gs1_symbols'], @tap['mark'])}}">
          <div>
            <p align="center">
              <big>{{@tap['title']}}</big>
              <check if="{{@tap['product_title']!=''}}">
              <br><small>{{@tap['product_title']}}</small>
              </check>
            </p>
            <repeat group="{{@tap['products']}}" value="{{@product}}">
            <p>
              <small>{{@product['title']}}</small>
            </p>
            </repeat>
            <div class="tap_info" align="left">
              <span class="right">
                <i class="fas fa-beer-barrel"></i>
                <small>
                  {{round(@tap['current_volume_with_lines'], 2)}}/{{round(@tap['volume'], 2)}} л
                </small>
              </span>
              <i class="fas fa-hourglass-half-regular"></i>
              <small>
                {{date('d.m.Y', @tap['expiration_date'])}}
              </small>
            </div>
          </div>
        </div>
      </form>
    </repeat>
  </div>
</div>
<script>
window_open_alarm();
</script>