Nicolas Bally 761e075bb6 initial
2018-11-08 21:47:30 +01:00

44 lines
797 B
Plaintext

.qi_header
.right
= link_to i(:pencil), edit_admin_p_customer_path(@p_customer), :remote => true
%h1
Clients
%span
Détail d'un client
.qi_row
.qi_pannel.qi_plain.padding
%p
=@p_customer.show_name
%p
Code parrain :
%strong=@p_customer.mlm_token
%hr
%h3 Offres
.right
=link_to "Nouvelle offre pour le client", new_admin_p_customer_sheet_path(:p_customer_id => @p_customer.id)
.clear
%table.table
%tr
%th ID
%th Date
%th Non livrés
%th Livrés
%th Total HT
%th Statut
%th
%tbody#p_customer_sheets_rows
=render @p_customer.p_customer_sheets.order("created_at DESC")
%hr
=#debug @p_customer