[15/04/2023] Pb d'emails de livraison : correction du mauvais IS_SENT récupéré

This commit is contained in:
2023-04-15 10:58:20 +02:00
parent db436c40bc
commit 79b3abb560
2 changed files with 6 additions and 2 deletions

View File

@@ -36,7 +36,8 @@
{* Content *}
{block name="email-content"}
{loop name="order.invoice" type="order" id=$order_id customer="*"}
{loop name="order.invoice" type="order" id=$order_id customer="*" backend_context=true}
{loop name="currency.order" type="currency" id=$CURRENCY}
{assign var="orderCurrencyIsoCode" value=$ISOCODE}
{/loop}
@@ -74,7 +75,7 @@
{intl l="Paid With:"} {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}<br />
{intl l="Purchase Date:"} {format_date date=$CREATE_DATE output="datetime"}<br />
{intl l="Delivery method:"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}<br />
{if $IS_SENT}
{if $new_status_is_sent}
{intl l="Follow your order here:" d="orderstatusnotify"} <strong>{intl l="Delivery link" d="orderstatusnotify" link={$delivery_link}}</strong><br />
{/if}
</p>