From d4d995851fc70bce66ae85231c4b8bd771c52a4c Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Tue, 29 Oct 2024 13:58:24 +1100 Subject: [PATCH] Display voucher section if connected to VINE --- app/views/checkout/_payment.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/checkout/_payment.html.haml b/app/views/checkout/_payment.html.haml index 516d2025bb..bb4e3f1ad3 100644 --- a/app/views/checkout/_payment.html.haml +++ b/app/views/checkout/_payment.html.haml @@ -1,5 +1,5 @@ .medium-6#checkout-payment-methods - - if @order.distributor.vouchers.present? + - if @order.distributor.vouchers.present? || @order.distributor.connected_apps.vine.present? %div.checkout-substep = render partial: "checkout/voucher_section", locals: { order: @order, voucher_adjustment: @order.voucher_adjustments.first }