diff --git a/src/Resources/views/storefront/installment-calculator/installment-plan.html.twig b/src/Resources/views/storefront/installment-calculator/installment-plan.html.twig index d73a8012..5399c42f 100644 --- a/src/Resources/views/storefront/installment-calculator/installment-plan.html.twig +++ b/src/Resources/views/storefront/installment-calculator/installment-plan.html.twig @@ -130,22 +130,27 @@ {% set code_directDebit = constant('Ratepay\\RpayPayments\\Components\\ProfileConfig\\Model\\ProfileConfigMethodInstallmentEntity::PAYMENT_TYPE_DIRECT_DEBIT') %} {% set code_bankTransfer = constant('Ratepay\\RpayPayments\\Components\\ProfileConfig\\Model\\ProfileConfigMethodInstallmentEntity::PAYMENT_TYPE_BANK_TRANSFER') %} - - + {% if ratepay.installment.plan.payment.directDebitAllowed %} + + {% endif %} + + {% if ratepay.installment.plan.payment.bankTransferAllowed %} + + {% endif %} {% if ratepay.installment.plan.payment.directDebitAllowed %} {# only show sepa form if the payment method is available #}