vesr 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,17 @@
1
1
  %table.list{:style => "width: 100%"}
2
2
  %tr
3
- %th Valuta Datum
4
- %th Patient
5
- %th Status
6
- %th{:style => "text-align: right"} Rechnungsbetrag
7
- %th{:style => "text-align: right"} Bezahlbetrag
8
- %th{:style => "text-align: right"} Saldo
3
+ %th= t_attr :value_date, EsrRecord
4
+ %th= t_attr :customer, EsrRecord
5
+ %th= t_attr :state, EsrRecord
6
+ %th.currency= t_attr :amount, EsrRecord
7
+ %th.currency= t_attr :payment_amount, EsrRecord
8
+ %th.currency= t_attr :saldo, EsrRecord
9
+
9
10
  - for esr_record in list_records
10
11
  %tr
11
12
  %td= h esr_record.value_date
12
13
  %td= link_to esr_record.invoice.patient.to_s, esr_record.invoice if esr_record.invoice
13
14
  %td= esr_record.invoice ? link_to(esr_record.remarks, esr_record.invoice) : esr_record.remarks
14
- %td{:style => "text-align: right"}= h sprintf("%0.2f", esr_record.invoice.amount.currency_round) if esr_record.invoice
15
- %td{:style => "text-align: right"}= h sprintf("%0.2f", esr_record.amount.currency_round)
16
- %td{:style => "text-align: right"}= h sprintf("%0.2f", esr_record.invoice.due_amount.currency_round) if esr_record.invoice
15
+ %td.currency= currency_fmt(esr_record.invoice.amount.currency_round) if esr_record.invoice
16
+ %td.currency= currency_fmt(esr_record.amount.currency_round)
17
+ %td.currency= currency_fmt(esr_record.invoice.due_amount.currency_round) if esr_record.invoice
@@ -17,9 +17,12 @@ de:
17
17
  reference: Referenz
18
18
  amount: Betrag
19
19
  transaction_date: Transaktionsdatum
20
+ payment_amount: Zahlbetrag
20
21
  payment_date: Zahldatum
22
+ saldo: Saldo
21
23
  value_date: Valuta Datum
22
24
  invoice: Rechnung
25
+ customer: Kunde
23
26
  booking: Buchung
24
27
  state: Status
25
28
  remarks: Bemerkungen
data/lib/vesr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vesr
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vesr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Simecek