mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Display voucher section if connected to VINE
This commit is contained in:
committed by
Rachel Arnould
parent
12cf62c2ff
commit
d4d995851f
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user