From dce30fee071b4484dac7411f6d41599384fe8087 Mon Sep 17 00:00:00 2001 From: panariga Date: Sun, 14 Dec 2025 11:48:01 +0200 Subject: [PATCH] Update admin/view/template/payment/hutko_order_info_panel.twig --- .../payment/hutko_order_info_panel.twig | 126 +++++++++++++----- 1 file changed, 91 insertions(+), 35 deletions(-) diff --git a/admin/view/template/payment/hutko_order_info_panel.twig b/admin/view/template/payment/hutko_order_info_panel.twig index c40cc55..04eb635 100644 --- a/admin/view/template/payment/hutko_order_info_panel.twig +++ b/admin/view/template/payment/hutko_order_info_panel.twig @@ -3,41 +3,94 @@ {{ text_payment_information }} (Hutko)
- - - - - -
{{ text_hutko_transaction_ref_label }}{{ hutko_transaction_ref_display }}
+ {% if transactions %} +
+ + + + + + + + + + + + + {% for t in transactions %} + + + + + + + + + + + + {% endfor %} + +
DateRefTypeStatusAmountAction
{{ t.date }}{{ t.ref }}{{ t.type }} + {% if t.status == 'success' or t.status == 'approved' %} + {{ t.status }} + {% elseif t.status == 'failed' or t.status == 'declined' %} + {{ t.status }} + {% else %} + {{ t.status }} + {% endif %} + {{ t.amount }} + + {% if t.can_refund %} + + {% endif %} + +
+
{{ t.payload }}
+
+
- {% if hutko_transaction_ref_display != text_not_available %} -
-
{{ text_hutko_refund_title }}
-
-
- -
-
- -
-
- -
+ + +
+
+ +
-
-
{{ text_hutko_status_title }}
- -
-
+ {% else %} +

{{ text_no_transactions }}

{% endif %}