Sha256: 600ba90576b54ded00cf02876f4c21cec79b91a3eab0715803dac18ff7bc50dc

Contents?: true

Size: 884 Bytes

Versions: 16

Compression:

Stored size: 884 Bytes

Contents

%table.table.table-striped.collection
  %thead
    %tr
      %th= t_attr :value_date, EsrRecord
      %th= t_attr :customer, EsrRecord
      %th= t_attr :state, EsrRecord
      %th.currency= t_attr :amount, EsrRecord
      %th.currency= t_attr :payment_amount, EsrRecord
      %th.currency= t_attr :saldo, EsrRecord

  - for esr_record in list_records
    %tbody
      %tr
        %td= esr_record.value_date
        %td= link_to esr_record.invoice.customer.to_s, esr_record.invoice.customer if esr_record.invoice
        %td= esr_record.invoice ? link_to(esr_record.remarks, esr_record.invoice) : esr_record.remarks
        %td.currency= currency_fmt(esr_record.invoice.amount.currency_round) if esr_record.invoice
        %td.currency= currency_fmt(esr_record.amount.currency_round)
        %td.currency= currency_fmt(esr_record.invoice.balance.currency_round) if esr_record.invoice

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
vesr-1.1.1 app/views/esr_files/_list_records.html.haml
vesr-1.1.0 app/views/esr_files/_list_records.html.haml
vesr-1.0.1 app/views/esr_files/_list_records.html.haml
vesr-1.0.0 app/views/esr_files/_list_records.html.haml
vesr-0.13.1 app/views/esr_files/_list_records.html.haml
vesr-0.13.0 app/views/esr_files/_list_records.html.haml
vesr-0.12.7 app/views/esr_files/_list_records.html.haml
vesr-0.12.6 app/views/esr_files/_list_records.html.haml
vesr-0.12.5 app/views/esr_files/_list_records.html.haml
vesr-0.12.4 app/views/esr_files/_list_records.html.haml
vesr-0.12.3 app/views/esr_files/_list_records.html.haml
vesr-0.12.2 app/views/esr_files/_list_records.html.haml
vesr-0.12.1 app/views/esr_files/_list_records.html.haml
vesr-0.12.0 app/views/esr_files/_list_records.html.haml
vesr-0.11.9 app/views/esr_files/_list_records.html.haml
vesr-0.11.8 app/views/esr_files/_list_records.html.haml