suite
This commit is contained in:
parent
cd4feb4b8a
commit
ad61aee2dc
@ -14,6 +14,9 @@ class Public::CustomersAuthsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
@customer = Customer.new()
|
@customer = Customer.new()
|
||||||
|
if params[:p]
|
||||||
|
@customer.reseaux_token = params[:p]
|
||||||
|
end
|
||||||
if cookies[:mlm_token] and @parent = Customer.find_parrain(cookies[:mlm_token])
|
if cookies[:mlm_token] and @parent = Customer.find_parrain(cookies[:mlm_token])
|
||||||
@customer.parent_code = @parent.mlm_token.upcase
|
@customer.parent_code = @parent.mlm_token.upcase
|
||||||
|
|
||||||
|
@ -25,14 +25,11 @@ class Public::CustomersController < ApplicationController
|
|||||||
|
|
||||||
|
|
||||||
@customer = Customer.new()
|
@customer = Customer.new()
|
||||||
if cookies[:mlm_token] and @parent = Customer.find_parrain(cookies[:mlm_token])
|
if params[:p]
|
||||||
@customer.parent_code = @parent.mlm_token.upcase
|
@customer.reseaux_token = params[:p]
|
||||||
|
|
||||||
elsif params[:p] and @parent = Customer.find_parrain(params[:p])
|
|
||||||
@customer.parent_code = @parent.mlm_token.upcase
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def show_details
|
def show_details
|
||||||
|
@ -52,18 +52,14 @@
|
|||||||
.columns
|
.columns
|
||||||
%h2
|
%h2
|
||||||
Entreprises – Commerçants
|
Entreprises – Commerçants
|
||||||
Profession Libéral – Collectivités
|
Profession Libérales – Collectivités
|
||||||
Associations
|
Associations
|
||||||
.inner
|
.inner
|
||||||
|
|
||||||
%p
|
|
||||||
Vous pouvez vous inscrire sur la plateforme Negos pour commander des packs
|
|
||||||
%strong Vouis'Star
|
|
||||||
pour les revendre dans votre commerce, ou les offrir à vos clients.
|
|
||||||
|
|
||||||
|
|
||||||
%center
|
%center
|
||||||
=link_to "Commander maintenant", "http://negos.pro", :target => "_blank", :style => "display:inline-block;margin:20px;padding:12px 20px;border:1px solid #f59c00;color:white;background:#f59c00;font-weight:bold;text-decoration:none;"
|
=link_to "Commander maintenant", "http://negos.pro/public/customers_auths/new?p=KJ6XC9", :target => "_blank", :style => "display:inline-block;margin:20px;padding:12px 20px;border:1px solid #f59c00;color:white;background:#f59c00;font-weight:bold;text-decoration:none;"
|
||||||
|
|
||||||
|
|
||||||
=link_to image_tag( "/logo2.png", :style => "display:block;margin:20px auto;width:160px;"), "http://negos.pro", :target => "_blank"
|
=link_to image_tag( "/logo2.png", :style => "display:block;margin:20px auto;width:160px;"), "http://negos.pro", :target => "_blank"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
.center{:style => "text-align:center"}
|
.center{:style => "text-align:center"}
|
||||||
#new_customer_form_container
|
#new_customer_form_container
|
||||||
%h1 Formulaire de demande d'adhésion
|
%h1 Formulaire d'inscription
|
||||||
|
|
||||||
|
|
||||||
|
-if false
|
||||||
%p Adhérer à Négos, c'est adhérer à un concept permettant à chacun de perdre moins de temps dans son travail et de réaliser des économies conséquentes.
|
%p Adhérer à Négos, c'est adhérer à un concept permettant à chacun de perdre moins de temps dans son travail et de réaliser des économies conséquentes.
|
||||||
%p
|
%p
|
||||||
Vous bénéficierez du conseil d'un expert dans votre domaine et vous pourrez profiter des actions de courtage de Négos.
|
Vous bénéficierez du conseil d'un expert dans votre domaine et vous pourrez profiter des actions de courtage de Négos.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user