.qi_header %h1 Documents %span Liste des documents .qi_row .qi_pannel.qi_plain.padding %table.table %tr %th Date %th N° offre %th Client %th Type %th Numéro %th Total HT %th Total TTC -if params[:p_document_type_id].to_i == 4 %th Th. Payée %th Payée %th Etat %tbody#p_customer_sheets_rows =render @p_documents