Merge pull request #10313 from jibees/split-checkout-do-not-display-payment-method-instruction-if-empty

SplitCheckout: On step3, do not display payment method description if not present
This commit is contained in:
Rachel Arnould
2023-01-25 11:43:19 +01:00
committed by GitHub

View File

@@ -53,11 +53,12 @@
- payment_method = last_payment_method(@order)
= payment_method&.name
%em.fees=payment_or_shipping_price(payment_method, @order)
%div
.summary-subtitle
= t("split_checkout.step3.payment_method.instructions")
- if payment_method&.description.present?
%div
= last_payment_method(@order)&.description
.summary-subtitle
= t("split_checkout.step3.payment_method.instructions")
%div
= last_payment_method(@order)&.description
%div.checkout-substep