From b1c515e2a1ae2091c280b4fe53fc0d37349596ca Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Thu, 10 Apr 2014 11:10:43 +0200 Subject: [PATCH] Payment modules without image are now displayed ad text "Pay with ..." --- .../frontOffice/default/order-invoice.html | 37 ++++++++----------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/templates/frontOffice/default/order-invoice.html b/templates/frontOffice/default/order-invoice.html index afe865d7f..500b14f29 100644 --- a/templates/frontOffice/default/order-invoice.html +++ b/templates/frontOffice/default/order-invoice.html @@ -173,8 +173,9 @@ {/form} + {form name="thelia.order.payment"} - {assign var="isPost" value="{$smarty.post|count}"} + {assign var="isPost" value=$smarty.post|count}
{form_hidden_fields form=$form} @@ -262,25 +263,25 @@
    - {loop type="payment" name="payments" force_return="true"} - {assign "paymentModuleId" $ID} - {loop type="image" name="paymentspicture" source="module" source_id=$ID force_return="true" width="100" height="72"} +
  • +
    +
  • -
    - -
    -
  • - - {/loop} + {loop type="image" name="paymentspicture" source="module" source_id=$ID force_return="true" width="100" height="72"} + {intl l= + {/loop} + {elseloop rel="paymentspicture"} + {intl l="Pay with %module_title" module_title=$TITLE} + {/elseloop} + +
+ {/loop} - + @@ -289,14 +290,8 @@ {intl l="Back"}
- {/form} - - - - - {/block}