Sha256: 4fd013b0151062ddc6cc0310d009d8c56a150bacdba08462f989b18c32880ee5

Contents?: true

Size: 733 Bytes

Versions: 3

Compression:

Stored size: 733 Bytes

Contents

%tr[esr_record]{:class => esr_record.state}
  %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
  %td.action-links
    - esr_record.aasm.events.each do |event|
      = link_to event_image(event.name), polymorphic_url([event.name, esr_record]), :remote => true, :method => :post, :title => t_action(event.name)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vesr-1.1.1 app/views/esr_records/_esr_record.html.haml
vesr-1.1.0 app/views/esr_records/_esr_record.html.haml
vesr-1.0.1 app/views/esr_records/_esr_record.html.haml