Sha256: 4fc57dec62550d2941dab4ee8c5533334648d519dde308d316f0d79e838fbd6e

Contents?: true

Size: 944 Bytes

Versions: 5

Compression:

Stored size: 944 Bytes

Contents

<table class="list" style="width: 100%">
<tr>
  <th>Valuta Datum</th>
  <th>Patient</th>
  <th>Status</th>
  <th style="text-align: right">Rechnungsbetrag</th>
  <th style="text-align: right">Bezahlbetrag</th>
  <th style="text-align: right">Saldo</th>
</tr>

<% for esr_record in list_records %>
  <tr>
    <td><%=h esr_record.value_date %></td>
    <td><%= link_to esr_record.invoice.patient.to_s, esr_record.invoice if esr_record.invoice %></td>
    <td><%= esr_record.invoice ? link_to(esr_record.remarks, esr_record.invoice) : esr_record.remarks %></td>
    <td style="text-align: right"><%=h sprintf("%0.2f", esr_record.invoice.amount.currency_round) if esr_record.invoice %></td>
    <td style="text-align: right"><%=h sprintf("%0.2f", esr_record.amount.currency_round) %></td>
    <td style="text-align: right"><%=h sprintf("%0.2f", esr_record.invoice.due_amount.currency_round) if esr_record.invoice %></td>
  </tr>
<% end %>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vesr-0.2.1 app/views/esr_bookings/_list_records.html.erb
vesr-0.2.0 app/views/esr_bookings/_list_records.html.erb
vesr-0.1.4 app/views/esr_bookings/_list_records.html.erb
vesr-0.1.3 app/views/esr_bookings/_list_records.html.erb
vesr-0.1.2 app/views/esr_bookings/_list_records.html.erb