Sha256: 3b55a5857126aa00ce66e91118454da83b18c37ab5bea338676e96ccee98df49

Contents?: true

Size: 868 Bytes

Versions: 1

Compression:

Stored size: 868 Bytes

Contents

%table.list{:style => "width: 100%"}
  %tr
    %th Valuta Datum
    %th Patient
    %th Status
    %th{:style => "text-align: right"} Rechnungsbetrag
    %th{:style => "text-align: right"} Bezahlbetrag
    %th{:style => "text-align: right"} Saldo
  - for esr_record in list_records
    %tr
      %td= h esr_record.value_date
      %td= link_to esr_record.invoice.patient.to_s, esr_record.invoice if esr_record.invoice
      %td= esr_record.invoice ? link_to(esr_record.remarks, esr_record.invoice) : esr_record.remarks
      %td{:style => "text-align: right"}= h sprintf("%0.2f", esr_record.invoice.amount.currency_round) if esr_record.invoice
      %td{:style => "text-align: right"}= h sprintf("%0.2f", esr_record.amount.currency_round)
      %td{:style => "text-align: right"}= h sprintf("%0.2f", esr_record.invoice.due_amount.currency_round) if esr_record.invoice

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vesr-0.3.0 app/views/esr_files/_list_records.html.haml