<div class="table-responsive">
  <table class="table table-bordered">
    <thead>
      <tr>
        <td class="text-start">{{ column_name }}</td>
        <td class="text-start">{{ column_code }}</td>
        <td class="text-end">{{ column_orders }}</td>
        <td class="text-end">{{ column_total }}</td>
        <td class="text-end">{{ column_action }}</td>
      </tr>
    </thead>
    <tbody>
      {% if coupons %}
        {% for coupon in coupons %}
          <tr>
            <td class="text-start">{{ coupon.name }}</td>
            <td class="text-start">{{ coupon.code }}</td>
            <td class="text-end">{{ coupon.orders }}</td>
            <td class="text-end">{{ coupon.total }}</td>
            <td class="text-end"><a href="{{ coupon.edit }}" data-bs-toggle="tooltip" title="{{ button_edit }}" class="btn btn-primary"><i class="fa-solid fa-pencil"></i></a></td>
          </tr>
        {% endfor %}
      {% else %}
        <tr>
          <td class="text-center" colspan="6">{{ text_no_results }}</td>
        </tr>
      {% endif %}
    </tbody>
  </table>
</div>
<div class="row">
  <div class="col-sm-6 text-start">{{ pagination }}</div>
  <div class="col-sm-6 text-end">{{ results }}</div>
</div>