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 .qi_header
.right= link_to 'Ajouter une catégorie', new_admin_p_customer_cat_path(), :class => "btn btn-primary", :remote => true .right= link_to 'Ajouter une catégorie', new_admin_p_customer_cat_path(), :class => "btn btn-primary", :remote => true
%h1 =breadcrumb
Produits
%span
Catégories
.qi_row .qi_row
@ -18,4 +15,4 @@
%tbody#p_customer_cats_rows %tbody#p_customer_cats_rows
=render @p_customer_cats =render @p_customer_cats

View File

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

View File

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

View File

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

View File

@ -3,15 +3,8 @@
= link_to i(:pencil), edit_admin_p_customer_path(@p_customer), :remote => false = 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
@ -294,4 +287,4 @@