.center.padding =render :partial => "public/my_account/menu" .center.padding %h1 Liste de mes factures %table.table %tr %th Date de la commande %th Numéro de la commande %th Montant de la commande %th -current_customer.orders.where(:payment_type_id => 2).order("paid_at DESC").each do |order| %tr %td =l order.paid_at if order.paid_at %td =('%05d' % order.id) %td %strong = number_to_currency order.amount_ttc TTC ( =number_to_currency order.amount_ht HT) %td =link_to "Voir ma facture", bill_print_public_order_path(order), :target => "_blank"