Sha256: 657523a6e86f64a8307ebb53d8378444b8cb5d77af93a044c605572296985ded

Contents?: true

Size: 596 Bytes

Versions: 1

Compression:

Stored size: 596 Bytes

Contents

= render 'invoices/sidebar'

%table.list#invoices_list
  %tr
    %th= t_attr :value_date, Invoice
    %th= t_attr :title, Invoice
    %th= t_attr :company, Invoice
    %th= t_attr :due_date, Invoice
    %th.currency= t_attr :amount, Invoice
    %th.currency= t_attr :balance, Invoice
    %th.action-links

  = render @credit_invoices

  %tr#invoices_list_footer
    %th{:style => "width: 10em"}= l Date.today
    %th{:colspan => 3}= t('bookyt.total')
    %th.currency= currency_fmt(@credit_invoices.to_a.sum(&:amount))
    %th.currency= currency_fmt(@credit_invoices.to_a.sum(&:balance))
    %th

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt-0.0.1 app/views/credit_invoices/_list.html.haml