.qi_padding.qi_stat.stat_block.financier.qi_stat_wrapper
  %table.stat_table
    %tr
      %td
        =ic(:"pie-chart")
      %th CA HT Total :
      %td
        =number_to_currency(p_customer.price_documents.where(:price_document_type => [4]).sum(:cc_tot_amount_ht) + p_customer.order_hists.sum(:montant_ht_remise))
      

      %th CA HT Basic :
      %td=link_to number_to_currency(p_customer.price_documents.where(:price_document_type => [4]).sum(:cc_tot_amount_ht)), admin_p_customer_path(:id => p_customer.id, :tab => "bills", :anchor => "tabs")
  
      %th CA HT historique :
      %td
        =link_to number_to_currency(p_customer.order_hists.sum(:montant_ht_remise)), admin_p_customer_path(:id => p_customer.id, :tab => "quadra", :anchor => "tabs")
 