%tr#p_customer_sheet{:id => p_customer_sheet.id}
  %td
    =link_to public_p_customer_sheet_path(p_customer_sheet) do
      ="##{p_customer_sheet.id}"
  %td
    =link_to public_p_customer_sheet_path(p_customer_sheet) do
      =l p_customer_sheet.created_at, :format => :date


  
  
  %td
    =number_to_currency p_customer_sheet.total_with_labels_table[:total][:value]
  
    
  %td=raw p_customer_sheet.state_html
  
  %td
    = "Oui" if p_customer_sheet.paid

  
  %td.actions
    = link_to i(:pencil), edit_public_p_customer_sheet_path(p_customer_sheet), :remote => false
    = link_to i(:eye), public_p_customer_sheet_path(p_customer_sheet), :remote => false

