vesr 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/esr_files/_list_records.html.haml +10 -9
- data/config/locales/de.yml +3 -0
- data/lib/vesr/version.rb +1 -1
- metadata +3 -3
@@ -1,16 +1,17 @@
|
|
1
1
|
%table.list{:style => "width: 100%"}
|
2
2
|
%tr
|
3
|
-
%th
|
4
|
-
%th
|
5
|
-
%th
|
6
|
-
%th
|
7
|
-
%th
|
8
|
-
%th
|
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
|
15
|
-
%td
|
16
|
-
%td
|
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
|
data/config/locales/de.yml
CHANGED
@@ -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
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek
|