wip p_ ustomer breadcrumb

This commit is contained in:
Barnabé 2021-09-27 16:56:42 +02:00
parent 5d1d1ee163
commit 57c3da9789
5 changed files with 9 additions and 25 deletions

View File

@ -1,9 +1,6 @@
.qi_header
.right= link_to 'Ajouter une catégorie', new_admin_p_customer_cat_path(), :class => "btn btn-primary", :remote => true
%h1
Produits
%span
Catégories
=breadcrumb
.qi_row

View File

@ -1,4 +1,5 @@
.qi_header
=breadcrumb("Modifier un client")
%h1
Ventes
%span

View File

@ -7,10 +7,8 @@
-else
.right
=link_to "< Retour aux demandes de commande", admin_p_customer_sheets_path
=breadcrumb
%h1
=breadcrumb
=hello

View File

@ -1,10 +1,5 @@
.qi_header
%h1
Ventes
%span
=link_to "Clients", admin_p_customers_path
%span
Créer un nouveau client
=breadcrumb
= render 'form'

View File

@ -3,15 +3,8 @@
= link_to i(:pencil), edit_admin_p_customer_path(@p_customer), :remote => false
=breadcrumb("Détail client / #{@p_customer.code} - #{@p_customer.show_name}")
%h1
Clients
%span
Détail d'un client
%span
=link_to [:admin, @p_customer] do
=@p_customer.code
=@p_customer.show_name