diff --git a/app/views/public/product_orders/select_payment.html.haml b/app/views/public/product_orders/select_payment.html.haml index 310d7ed..f046218 100755 --- a/app/views/public/product_orders/select_payment.html.haml +++ b/app/views/public/product_orders/select_payment.html.haml @@ -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