.qi_header
  .right
    =link_to ic(:plus)+" Demande de commande", admin_p_customers_path(:offre => true), :class => "btn btn-primary btn-ap-add"
    
  %h1
    Ventes
    %span
      Demandes de commande


.qi_row
  .qi_pannel.qi_plain.padding
    %table.table.table-hover.table-striped
      %tr
        %th ID
        %th N° BC
        %th Commercial
        %th=sort_link "created_at", "Date"
        %th=sort_link "price_line_blocks.wish_date", "Date de livraison souhaitée"
        %th Client
        
       
        %th Total HT
        %th Total TTC
        %th Statut

        %th
  

      %tbody#p_customer_sheets_rows
        =render @p_customer_sheets
    
    .qi_pagination
      = paginate @p_customer_sheets #, :remote => true

    
  
    