This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/views/public/my_account/index.html.haml
2021-08-23 10:26:02 +02:00

54 lines
1.2 KiB
Plaintext

.sub_header
.inner
%h2
=qit('my-account', 'Mon compte')
.main_wrapper.general_padding
.main_center.white_background
%p
=qit('hello', 'Bonjour')
=current_p_customer.particular.firstname if current_p_customer.particular
=current_p_customer.particular.name if current_p_customer.particular
-if @p_customer_sheets = current_p_customer.p_customer_sheets.where("state != 'Panier web'").order("created_at DESC") and @p_customer_sheets.count > 0
%h2
=qit('my-orders', 'Mes commandes')
%table.table
%tr
%th
%th
=qit('order-date', 'Date de la commande')
%th
=qit('amount-excl-tax', 'Montant HT')
%th
=qit('amount-incl-tax', 'Montant TTC')
/ %th
/ =qit('status', 'Statut')
/ %th
/ =qit('deliver', 'Livreur')
/ %th
/ =qit('tracking-number', 'N° de suivi')
%th
=qit('bill', 'Facture')
%th
=render @p_customer_sheets
=link_to qit('change-my-password', "Modifier mon mot de passe"), edit_password_public_p_customer_auths_path()