This commit is contained in:
Nicolas Bally 2020-02-10 20:34:49 +01:00
parent 6305469343
commit 8734f809a2

View File

@ -54,8 +54,11 @@
%br
=f.input :product_order_payment_type_ok_id, :label => false, :collection => [["Virement",2],["Carte bancaire",3]], :as => :radio, :include_blank => false
-if @reseaux and @reseaux.id == 2
=f.input :product_order_payment_type_ok_id, :label => false, :collection => [["Virement",2]], :as => :radio, :include_blank => false
-else
=f.input :product_order_payment_type_ok_id, :label => false, :collection => [["Virement",2],["Carte bancaire",3]], :as => :radio, :include_blank => false
.cb_infos