vesr 0.11.7 → 0.11.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,19 @@
|
|
1
|
-
%table.
|
2
|
-
%
|
3
|
-
%
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
%table.table.table-striped.collection
|
2
|
+
%thead
|
3
|
+
%tr
|
4
|
+
%th= t_attr :value_date, EsrRecord
|
5
|
+
%th= t_attr :customer, EsrRecord
|
6
|
+
%th= t_attr :state, EsrRecord
|
7
|
+
%th.currency= t_attr :amount, EsrRecord
|
8
|
+
%th.currency= t_attr :payment_amount, EsrRecord
|
9
|
+
%th.currency= t_attr :saldo, EsrRecord
|
9
10
|
|
10
11
|
- for esr_record in list_records
|
11
|
-
%
|
12
|
-
%
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
%tbody
|
13
|
+
%tr
|
14
|
+
%td= esr_record.value_date
|
15
|
+
%td= link_to esr_record.invoice.customer.to_s, esr_record.invoice.customer if esr_record.invoice
|
16
|
+
%td= esr_record.invoice ? link_to(esr_record.remarks, esr_record.invoice) : esr_record.remarks
|
17
|
+
%td.currency= currency_fmt(esr_record.invoice.amount.currency_round) if esr_record.invoice
|
18
|
+
%td.currency= currency_fmt(esr_record.amount.currency_round)
|
19
|
+
%td.currency= currency_fmt(esr_record.invoice.balance.currency_round) if esr_record.invoice
|
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: 35
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 11
|
9
|
-
-
|
10
|
-
version: 0.11.
|
9
|
+
- 8
|
10
|
+
version: 0.11.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-03-
|
19
|
+
date: 2012-03-26 00:00:00 Z
|
20
20
|
dependencies: []
|
21
21
|
|
22
22
|
description: VESR provides support for ESR number calculations and gives ready to use Rails components.
|
@@ -95,10 +95,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements: []
|
96
96
|
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 1.8.
|
98
|
+
rubygems_version: 1.8.16
|
99
99
|
signing_key:
|
100
100
|
specification_version: 3
|
101
101
|
summary: VESR invoice support library.
|
102
102
|
test_files: []
|
103
103
|
|
104
|
-
has_rdoc:
|