traduction suite

This commit is contained in:
Caroline Girard 2018-08-30 16:32:49 +02:00
parent bd9fcf270b
commit b12f17d552
3 changed files with 26 additions and 23 deletions

View File

@ -1,12 +1,13 @@
= semantic_form_for [:public, @annonce_account], :remote => true do |f| = semantic_form_for [:public, @annonce_account], :remote => true do |f|
%h3 Modifier mon adresse de facturation %h3
=qit("orders-billing-h3", "Modifier mon adresse de facturation")
=hidden_field_tag :order, true =hidden_field_tag :order, true
=hidden_field_tag :credit_product_id, params[:credit_product_id] =hidden_field_tag :credit_product_id, params[:credit_product_id]
=f.inputs do =f.inputs do
=render :partial => "public/my_account/address", :locals => {:f => f} =render :partial => "public/my_account/address", :locals => {:f => f}
=f.submit "Sauvegarder", :class => "btn btn-primary" =f.submit qit("orders-billing-sauvegarder", "Sauvegarder"), :class => "btn btn-primary"
%br %br
%br %br
=render :partial => "public/my_account/note_pays" =render :partial => "public/my_account/note_pays"

View File

@ -1,7 +1,8 @@
-if @order -if @order
.clear .clear
%h2 Vos coordonnées %h2
=qit("orders-new-h2-coordonnées", "Vos coordonnées")
-if !current_annonce_account.pro -if !current_annonce_account.pro
=current_annonce_account.firstname =current_annonce_account.firstname
=current_annonce_account.name =current_annonce_account.name
@ -19,16 +20,16 @@
%br %br
=current_annonce_account.country =current_annonce_account.country
=link_to "modifier mes infos de facturation", billing_public_orders_path(:credit_product_id => params[:credit_product_id]), :remote => true =link_to qit("orders-new-facturation", "modifier mes infos de facturation"), billing_public_orders_path(:credit_product_id => params[:credit_product_id]), :remote => true
%h3 Récapitulatif
%h3
=qit("orders-new-h3-récap", "Récapitulatif")
%p %p
Commande de =qit("orders-new-p1", "Commande de")
= @order.credit_product.nbr_credits_final(current_annonce_account) = @order.credit_product.nbr_credits_final(current_annonce_account)
crédits crédits
pour un montant de =qit("orders-new-p2", "pour un montant de")
%strong %strong
=number_to_currency @order.credit_product.price_ttc_final(current_annonce_account), :unit => @order.devise.icon =number_to_currency @order.credit_product.price_ttc_final(current_annonce_account), :unit => @order.devise.icon
TTC TTC
@ -44,14 +45,14 @@
-if @order.with_com -if @order.with_com
%p %p
Utilisation de mes commissions : =qit("orders-new-p3", "Utilisation de mes commissions :")
%strong=number_to_currency @order.evaluate_use_coms, :unit => @order.devise.icon %strong=number_to_currency @order.evaluate_use_coms, :unit => @order.devise.icon
( (
votre solde de commission passera à =qit("orders-new-p4", "votre solde de commission passera à")
=number_to_currency @order.evaluate_solde_coms, :unit => @order.devise.icon =number_to_currency @order.evaluate_solde_coms, :unit => @order.devise.icon
) )
%p %p
Il vous restera à payer : =qit("orders-new-p5", "Il vous restera à payer :")
%strong %strong
=number_to_currency @order.evaluate_price_with_coms_ttc, :unit => @order.devise.icon =number_to_currency @order.evaluate_price_with_coms_ttc, :unit => @order.devise.icon
TTC TTC
@ -65,7 +66,7 @@
%p %p
Il vous restera à payer : =qit("orders-new-p6", "Il vous restera à payer :")
%strong %strong
=number_to_currency @order.evaluate_price_with_coms_ttc, :unit => @order.devise.icon =number_to_currency @order.evaluate_price_with_coms_ttc, :unit => @order.devise.icon
TTC TTC
@ -78,7 +79,8 @@
%h3 Valider ma commande %h3
=qit("orders-new-h3-commande", "Valider ma commande")
=semantic_form_for [:public, @order], :remote => true do |f| =semantic_form_for [:public, @order], :remote => true do |f|
=hidden_field_tag :credit_product_id, params[:credit_product_id] =hidden_field_tag :credit_product_id, params[:credit_product_id]
=hidden_field_tag :with_com, params[:with_com] =hidden_field_tag :with_com, params[:with_com]

View File

@ -114,9 +114,9 @@
%tr.line %tr.line
%td %td
%strong %strong
Achat d'un coffret de =qit("orders-bill-achat", "Achat d'un coffret de")
=@order.nbr_credits =@order.nbr_credits
crédits sur Sideplace.com =qit("orders-bill-crédit", "crédits sur Sideplace.com")
%td.right %td.right
@ -160,7 +160,7 @@
%td %td
Total TTC =qit("orders-bill-total-ttc", "Total TTC")
%td{:style => "text-align:right;"} %td{:style => "text-align:right;"}
%strong %strong
=number_to_currency @order.amount_ttc =number_to_currency @order.amount_ttc
@ -169,12 +169,12 @@
#footer{:style => "margin:1cm 1cm;margin-top:5cm"} #footer{:style => "margin:1cm 1cm;margin-top:5cm"}
%p %p
Date et heure de paiement (Carte bancaire) : =qit("orders-bill-p1", "Date et heure de paiement (Carte bancaire) :")
=l @order.paid_at =l @order.paid_at
%br %br
%br %br
=qit "orders-bill-p2" do
%p %p
Conditions de règlement : paiement comptant. Conditions de règlement : paiement comptant.
Pas d'escompte pour paiement anticipé. Pas d'escompte pour paiement anticipé.