From a25bc6545ab4aacedadbb1a0e463c04d0c725afb Mon Sep 17 00:00:00 2001 From: boubkerbribri Date: Wed, 2 Aug 2023 16:38:13 +0200 Subject: [PATCH] test: add data-test for E2E tests on ajaxPaypalOrder.tpl --- views/templates/admin/ajaxPayPalOrder.tpl | 12 ++++++------ views/templates/admin/ajaxPayPalOrderLegacy.tpl | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/views/templates/admin/ajaxPayPalOrder.tpl b/views/templates/admin/ajaxPayPalOrder.tpl index 2b446fcfe..397ffd403 100644 --- a/views/templates/admin/ajaxPayPalOrder.tpl +++ b/views/templates/admin/ajaxPayPalOrder.tpl @@ -16,7 +16,7 @@ * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 *} -
+
{if !$orderPayPal}
@@ -50,22 +50,22 @@

{l s='PayPal Order' mod='ps_checkout'}

{l s='Reference' mod='ps_checkout'}
-
{$orderPayPal.id|escape:'html':'UTF-8'}
+
{$orderPayPal.id|escape:'html':'UTF-8'}
{l s='Status' mod='ps_checkout'}
-
+
{$orderPayPal.status.translated|escape:'html':'UTF-8'}
{l s='Total' mod='ps_checkout'}
-
{$orderPayPal.total}
+
{$orderPayPal.total}
{l s='Balance' mod='ps_checkout'}
-
{$orderPayPal.balance}
+
{$orderPayPal.balance}
{l s='Payment mode' mod='ps_checkout'}
-
{$orderPaymentDisplayName|escape:'html':'UTF-8'} {$orderPaymentDisplayName|escape:'html':'UTF-8'}
+
{$orderPaymentDisplayName|escape:'html':'UTF-8'} {$orderPaymentDisplayName|escape:'html':'UTF-8'}
diff --git a/views/templates/admin/ajaxPayPalOrderLegacy.tpl b/views/templates/admin/ajaxPayPalOrderLegacy.tpl index 698ff896d..e0388a11a 100644 --- a/views/templates/admin/ajaxPayPalOrderLegacy.tpl +++ b/views/templates/admin/ajaxPayPalOrderLegacy.tpl @@ -16,7 +16,7 @@ * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 *} -
+
{if !$orderPayPal}
@@ -50,22 +50,22 @@

{l s='PayPal Order' mod='ps_checkout'}

{l s='Reference' mod='ps_checkout'}
-
{$orderPayPal.id|escape:'html':'UTF-8'}
+
{$orderPayPal.id|escape:'html':'UTF-8'}
{l s='Status' mod='ps_checkout'}
-
+
{$orderPayPal.status.translated|escape:'html':'UTF-8'}
{l s='Total' mod='ps_checkout'}
-
{$orderPayPal.total}
+
{$orderPayPal.total}
{l s='Balance' mod='ps_checkout'}
-
{$orderPayPal.balance}
+
{$orderPayPal.balance}
{l s='Payment mode' mod='ps_checkout'}
-
{$orderPaymentDisplayName|escape:'html':'UTF-8'} {$orderPaymentDisplayName|escape:'html':'UTF-8'}
+
{$orderPaymentDisplayName|escape:'html':'UTF-8'} {$orderPaymentDisplayName|escape:'html':'UTF-8'}