aboutsummaryrefslogtreecommitdiffstats
path: root/public/admin/view/template/customer/customer_reward.twig
blob: 5120f46e43aa92564aabe68aaaebc8dc613ed6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<div class="table-responsive">
  <table class="table table-bordered table-hover">
    <thead>
      <tr>
        <td class="text-left">{{ column_date_added }}</td>
        <td class="text-left">{{ column_description }}</td>
        <td class="text-right">{{ column_points }}</td>
      </tr>
    </thead>
    <tbody>
      {% if rewards %}
      {% for reward in rewards %}
      <tr>
        <td class="text-left">{{ reward.date_added }}</td>
        <td class="text-left">{{ reward.description }}</td>
        <td class="text-right">{{ reward.points }}</td>
      </tr>
      {% endfor %}
      <tr>
        <td></td>
        <td class="text-right"><b>{{ text_balance }}</b></td>
        <td class="text-right">{{ balance }}</td>
      </tr>
      {% else %}
      <tr>
        <td class="text-center" colspan="3">{{ text_no_results }}</td>
      </tr>
      {% endif %}
    </tbody>
  </table>
</div>
<div class="row">
  <div class="col-sm-6 text-left">{{ pagination }}</div>
  <div class="col-sm-6 text-right">{{ results }}</div>
</div>