<commit_before>Order No: <%= link_to order_number.number, "#", class: 'reference', title: 'Opens in a popup', 'data-popup-ref' => "order-number-#{order_number.id}" %>&nbsp;
<div class='popup hidden' data-popup='order-number-<%= order_number.id %>'>
  <article>
    <% if order_number.has_definition? %>
      <table>
        <caption>Order number <%= order_number.number %>:</caption>
        <tbody>
          <tr>
            <td>Order Number</td>
            <td><%= order_number.number %></td>
          </tr>
          <tr>
            <td>Balance</td>
            <td><%= order_number.definition.balance %></td>
          </tr>
          <tr>
            <td>Initial amount</td>
            <td><%= order_number.definition.initial_volume %></td>
          </tr>
          <tr>
            <td>Status</td>
            <td><%= order_number.definition.status %></td>
          </tr>
          <tr>
            <td>Unit</td>
            <td><%= order_number.definition.measurement_unit %></td>
          </tr>
          <tr>
            <td>Start date</td>
            <td><%= order_number.definition.validity_start_date.to_formatted_s(:date) %></td>
          </tr>
          <tr>
            <td>End date</td>
            <td><%= order_number.definition.validity_end_date.to_formatted_s(:date) %></td>
          </tr>
          <tr>
            <td>Suspension period start</td>
            <td><%= order_number.definition.suspension_period_start_date.to_formatted_s(:full) %></td>
          </tr>
          <tr>
            <td>Suspension period end</td>
            <td><%= order_number.definition.suspension_period_end_date.to_formatted_s(:full) %></td>
          </tr>
          <tr>
            <td>Blocking period start</td>
            <td><%= order_number.definition.blocking_period_start_date.to_formatted_s(:full) %></td>
          </tr>
          <tr>
            <td>Blocking period end</td>
            <td><%= order_number.definition.blocking_period_end_date.to_formatted_s(:full) %></td>
          </tr>
          <tr>
            <td>Last allocation date</td>
            <td><%= order_number.definition.last_allocation_date.to_formatted_s(:full) %></td>
          </tr>
        </tbody>
      </table>
    <% else %>
      <p>Information on the availability of this quota can be obtained from the Rural Payments Agency.</p>
    <% end %>
  </article>
</div><commit_msg>order number disclamer text<commit_after>Order No: <%= link_to order_number.number, "#", class: 'reference', title: 'Opens in a popup', 'data-popup-ref' => "order-number-#{order_number.id}" %>&nbsp;
<div class='popup hidden' data-popup='order-number-<%= order_number.id %>'>
  <article>
    <% if order_number.has_definition? %>
      <table>
        <caption>Order number <%= order_number.number %>:</caption>
        <tbody>
          <tr>
            <td>Order Number</td>
            <td><%= order_number.number %></td>
          </tr>
          <tr>
            <td>Balance</td>
            <td><%= order_number.definition.balance %></td>
          </tr>
          <tr>
            <td>Initial amount</td>
            <td><%= order_number.definition.initial_volume %></td>
          </tr>
          <tr>
            <td>Status</td>
            <td><%= order_number.definition.status %></td>
          </tr>
          <tr>
            <td>Unit</td>
            <td><%= order_number.definition.measurement_unit %></td>
          </tr>
          <tr>
            <td>Start date</td>
            <td><%= order_number.definition.validity_start_date.to_formatted_s(:date) %></td>
          </tr>
          <tr>
            <td>End date</td>
            <td><%= order_number.definition.validity_end_date.to_formatted_s(:date) %></td>
          </tr>
          <tr>
            <td>Suspension period start</td>
            <td><%= order_number.definition.suspension_period_start_date.to_formatted_s(:full) %></td>
          </tr>
          <tr>
            <td>Suspension period end</td>
            <td><%= order_number.definition.suspension_period_end_date.to_formatted_s(:full) %></td>
          </tr>
          <tr>
            <td>Blocking period start</td>
            <td><%= order_number.definition.blocking_period_start_date.to_formatted_s(:full) %></td>
          </tr>
          <tr>
            <td>Blocking period end</td>
            <td><%= order_number.definition.blocking_period_end_date.to_formatted_s(:full) %></td>
          </tr>
          <tr>
            <td>Last allocation date</td>
            <td><%= order_number.definition.last_allocation_date.to_formatted_s(:full) %></td>
          </tr>
        </tbody>
      </table>
      <p>In an effort to facilitate UK importers HMRC endeavours to keep quotas 'OPEN' where possible, therefore the information displayed above may differ slightly from the current UK position. If you require further information contact the quota helpline on 01702 366787 / 367963.</p>
    <% else %>
      <p>Information on the availability of this quota can be obtained from the Rural Payments Agency.</p>
    <% end %>
  </article>
</div>
{'fraction_non_alphanumeric': 0.15849576688324474, 'fraction_numerical': 0.0033471155739318763, 'mean_word_length': 2.009478672985782, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 211, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2003686', 'n_tokens_mistral': 1658, 'n_tokens_neox': 1574, 'n_words': 313}