Sha256: fb8c84a786e2d652542ecfaad2893d2df9dc099cbdfac52f25d2e8ebbb3d16fd

Contents?: true

Size: 749 Bytes

Versions: 20

Compression:

Stored size: 749 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_for_current_state.each do |event|
      = link_to image_tag("16x16/#{event}.png"), polymorphic_url([event, esr_record]), :remote => true, :method => :post, :title => t_action(event)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
vesr-0.13.1 app/views/esr_records/_esr_record.html.haml
vesr-0.13.0 app/views/esr_records/_esr_record.html.haml
vesr-0.12.7 app/views/esr_records/_esr_record.html.haml
vesr-0.12.6 app/views/esr_records/_esr_record.html.haml
vesr-0.12.5 app/views/esr_records/_esr_record.html.haml
vesr-0.12.4 app/views/esr_records/_esr_record.html.haml
vesr-0.12.3 app/views/esr_records/_esr_record.html.haml
vesr-0.12.2 app/views/esr_records/_esr_record.html.haml
vesr-0.12.1 app/views/esr_records/_esr_record.html.haml
vesr-0.12.0 app/views/esr_records/_esr_record.html.haml
vesr-0.11.9 app/views/esr_records/_esr_record.html.haml
vesr-0.11.8 app/views/esr_records/_esr_record.html.haml
vesr-0.11.7 app/views/esr_records/_esr_record.html.haml
vesr-0.11.6 app/views/esr_records/_esr_record.html.haml
vesr-0.11.5 app/views/esr_records/_esr_record.html.haml
vesr-0.11.4 app/views/esr_records/_esr_record.html.haml
vesr-0.11.3 app/views/esr_records/_esr_record.html.haml
vesr-0.11.2 app/views/esr_records/_esr_record.html.haml
vesr-0.11.1 app/views/esr_records/_esr_record.html.haml
vesr-0.11.0 app/views/esr_records/_esr_record.html.haml