diff --git a/templates/admin/credit_memos/show/content/sections/buyer_card.html.twig b/templates/admin/credit_memos/show/content/sections/buyer_card.html.twig
index 8425d4be2..ea7f79a3c 100644
--- a/templates/admin/credit_memos/show/content/sections/buyer_card.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/buyer_card.html.twig
@@ -2,7 +2,7 @@
{% if credit_memo.from != null %}
-
+
{% hook 'buyer_card' with { credit_memo } %}
diff --git a/templates/admin/credit_memos/show/content/sections/buyer_card/address.html.twig b/templates/admin/credit_memos/show/content/sections/buyer_card/address.html.twig
index 45dc57564..05b958579 100644
--- a/templates/admin/credit_memos/show/content/sections/buyer_card/address.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/buyer_card/address.html.twig
@@ -1,7 +1,7 @@
{% set credit_memo = hookable_metadata.context.credit_memo %}
-
+
{% hook 'address' with { 'from': credit_memo.from } %}
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/currency.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/currency.html.twig
index 5e88c3d7d..feb553095 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/currency.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/currency.html.twig
@@ -1 +1 @@
-
{{ 'sylius.ui.currency'|trans }} |
+
{{ 'sylius.ui.currency'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/gross_value.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/gross_value.html.twig
index 0e54cbc0e..648417dae 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/gross_value.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/gross_value.html.twig
@@ -1 +1 @@
-
{{ 'sylius_refund.ui.gross_value'|trans }} |
+
{{ 'sylius_refund.ui.gross_value'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/name.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/name.html.twig
index 8845d10fe..6a1b99226 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/name.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/name.html.twig
@@ -1 +1 @@
-
{{ 'sylius.ui.name'|trans }} |
+
{{ 'sylius.ui.name'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/net_value.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/net_value.html.twig
index b256e31d3..df4995a23 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/net_value.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/net_value.html.twig
@@ -1 +1 @@
-
{{ 'sylius_refund.ui.net_value'|trans }} |
+
{{ 'sylius_refund.ui.net_value'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/number.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/number.html.twig
index bf4208742..307b68f86 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/number.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/number.html.twig
@@ -1 +1 @@
-
{{ 'sylius_refund.ui.no'|trans }} |
+
{{ 'sylius_refund.ui.no'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/quantity.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/quantity.html.twig
index 7d7e9eff0..2e705a3a1 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/quantity.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/quantity.html.twig
@@ -1 +1 @@
-
{{ 'sylius.ui.quantity'|trans }} |
+
{{ 'sylius.ui.quantity'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/tax_amount.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/tax_amount.html.twig
index 485d98821..906a508b7 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/tax_amount.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/tax_amount.html.twig
@@ -1 +1 @@
-
{{ 'sylius_refund.ui.tax_amount'|trans }} |
+
{{ 'sylius_refund.ui.tax_amount'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/tax_rate.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/tax_rate.html.twig
index 8f4cdd591..c10fe23e0 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/tax_rate.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/tax_rate.html.twig
@@ -1 +1 @@
-
{{ 'sylius_refund.ui.tax_rate'|trans }} |
+
{{ 'sylius_refund.ui.tax_rate'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/unit_net_price.html.twig b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/unit_net_price.html.twig
index 0e74a801a..589341830 100644
--- a/templates/admin/credit_memos/show/content/sections/memo_details/table/header/unit_net_price.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/memo_details/table/header/unit_net_price.html.twig
@@ -1 +1 @@
-
{{ 'sylius_refund.ui.unit_net_price'|trans }} |
+
{{ 'sylius_refund.ui.unit_net_price'|trans }} |
diff --git a/templates/admin/credit_memos/show/content/sections/seller_card.html.twig b/templates/admin/credit_memos/show/content/sections/seller_card.html.twig
index ddab6c668..47ae581a3 100644
--- a/templates/admin/credit_memos/show/content/sections/seller_card.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/seller_card.html.twig
@@ -2,7 +2,7 @@
{% if credit_memo.to != null and credit_memo.to.taxId != null %}
-
+
{% hook 'seller_card' with { credit_memo } %}
diff --git a/templates/admin/credit_memos/show/content/sections/seller_card/body/address.html.twig b/templates/admin/credit_memos/show/content/sections/seller_card/body/address.html.twig
index e7926a6da..346d42cfc 100644
--- a/templates/admin/credit_memos/show/content/sections/seller_card/body/address.html.twig
+++ b/templates/admin/credit_memos/show/content/sections/seller_card/body/address.html.twig
@@ -1,5 +1,5 @@
{% set credit_memo = hookable_metadata.context.credit_memo %}
-
+
{% hook 'address' with { 'to': credit_memo.to } %}
diff --git a/templates/admin/order/credit_memo/list.html.twig b/templates/admin/order/credit_memo/list.html.twig
index d90ffeeee..29ded7aea 100644
--- a/templates/admin/order/credit_memo/list.html.twig
+++ b/templates/admin/order/credit_memo/list.html.twig
@@ -3,7 +3,7 @@
{% if credit_memos|length > 0 %}
-
+
{% for credit_memo in credit_memos %}
diff --git a/templates/admin/order/refund/content/sections/form/items/table/body/products/refund_value.html.twig b/templates/admin/order/refund/content/sections/form/items/table/body/products/refund_value.html.twig
index 904bd26e2..109eba289 100644
--- a/templates/admin/order/refund/content/sections/form/items/table/body/products/refund_value.html.twig
+++ b/templates/admin/order/refund/content/sections/form/items/table/body/products/refund_value.html.twig
@@ -1,7 +1,7 @@
{% set order = hookable_metadata.context.order %}
{% set unit = hookable_metadata.context.unit %}
-
+ |
{% set inputName = "sylius_refund_units["~unit.id~"][amount]" %}
{% set hiddenInputName = "sylius_refund_units["~unit.id~"][partial-id]" %}
diff --git a/templates/admin/order/refund/content/sections/form/refunded_total.html.twig b/templates/admin/order/refund/content/sections/form/refunded_total.html.twig
index fb179b5d1..6332b7b1a 100644
--- a/templates/admin/order/refund/content/sections/form/refunded_total.html.twig
+++ b/templates/admin/order/refund/content/sections/form/refunded_total.html.twig
@@ -6,7 +6,7 @@
{{ 'sylius_refund.ui.refunded_total'|trans }}:
- {{ money.format(order_refunded_total(order.number), order.currencyCode) }}
+ {{ money.format(order_refunded_total(order.number), order.currencyCode) }}
diff --git a/tests/Behat/Context/Ui/Shop/Customer/CreditMemoContext.php b/tests/Behat/Context/Ui/Shop/Customer/CreditMemoContext.php
index 2f39ab756..96926e41f 100644
--- a/tests/Behat/Context/Ui/Shop/Customer/CreditMemoContext.php
+++ b/tests/Behat/Context/Ui/Shop/Customer/CreditMemoContext.php
@@ -38,7 +38,7 @@ public function pdfFileShouldBeSuccessfullyDownloaded(): void
*/
public function downloadFirstCreditMemo(): void
{
- $this->customerOrderShowPage->downloadCreditMemo(1);
+ $this->customerOrderShowPage->downloadCreditMemo(0);
}
/**
|