aboutsummaryrefslogtreecommitdiffstats
path: root/public/admin/view/template/customer/customer_history.twig
diff options
context:
space:
mode:
Diffstat (limited to 'public/admin/view/template/customer/customer_history.twig')
-rw-r--r--public/admin/view/template/customer/customer_history.twig28
1 files changed, 28 insertions, 0 deletions
diff --git a/public/admin/view/template/customer/customer_history.twig b/public/admin/view/template/customer/customer_history.twig
new file mode 100644
index 0000000..6002174
--- /dev/null
+++ b/public/admin/view/template/customer/customer_history.twig
@@ -0,0 +1,28 @@
+<div class="table-responsive">
+ <table class="table table-bordered">
+ <thead>
+ <tr>
+ <td class="text-left">{{ column_date_added }}</td>
+ <td class="text-left">{{ column_comment }}</td>
+ </tr>
+ </thead>
+ <tbody>
+ {% if histories %}
+ {% for history in histories %}
+ <tr>
+ <td class="text-left">{{ history.date_added }}</td>
+ <td class="text-left">{{ history.comment }}</td>
+ </tr>
+ {% endfor %}
+ {% else %}
+ <tr>
+ <td class="text-center" colspan="2">{{ 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>