vesr 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vesr/prawn/esr_recipe.rb +3 -3
- data/lib/vesr/version.rb +1 -1
- metadata +7 -8
@@ -59,7 +59,7 @@ module Prawn
|
|
59
59
|
draw_account_detail(account.bank, sender, print_payment_for)
|
60
60
|
end
|
61
61
|
draw_account(account)
|
62
|
-
draw_amount(invoice.
|
62
|
+
draw_amount(invoice.balance.currency_round)
|
63
63
|
|
64
64
|
bounding_box [cm2pt(0.2), bounds.top - cm2pt(5.2)], :width => cm2pt(5) do
|
65
65
|
text esr9_reference(invoice, account), :size => 7
|
@@ -73,7 +73,7 @@ module Prawn
|
|
73
73
|
bounding_box [cm2pt(6.4), cm2pt(9.6)], :width => cm2pt(5) do
|
74
74
|
draw_account_detail(account.bank, sender, print_payment_for)
|
75
75
|
draw_account(account)
|
76
|
-
draw_amount(invoice.
|
76
|
+
draw_amount(invoice.balance.currency_round)
|
77
77
|
end
|
78
78
|
|
79
79
|
font_size 10 do
|
@@ -114,7 +114,7 @@ module Prawn
|
|
114
114
|
private
|
115
115
|
# ESR helpers
|
116
116
|
def esr9(invoice, esr_account)
|
117
|
-
esr9_build(invoice.
|
117
|
+
esr9_build(invoice.balance.currency_round, invoice, esr_account.pc_id, esr_account.esr_id)
|
118
118
|
end
|
119
119
|
|
120
120
|
def esr9_reference(invoice, esr_account)
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: 55
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 10
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.10.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-01-
|
20
|
-
default_executable:
|
19
|
+
date: 2012-01-24 00:00:00 Z
|
21
20
|
dependencies: []
|
22
21
|
|
23
22
|
description: VESR provides support for ESR number calculations and gives ready to use Rails components.
|
@@ -53,7 +52,6 @@ files:
|
|
53
52
|
- lib/vesr/version.rb
|
54
53
|
- README.rdoc
|
55
54
|
- LICENSE.txt
|
56
|
-
has_rdoc: true
|
57
55
|
homepage: https://github.com/raskhadafi/vesr
|
58
56
|
licenses:
|
59
57
|
- MIT
|
@@ -83,9 +81,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
81
|
requirements: []
|
84
82
|
|
85
83
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.
|
84
|
+
rubygems_version: 1.8.15
|
87
85
|
signing_key:
|
88
86
|
specification_version: 3
|
89
87
|
summary: VESR invoice support library.
|
90
88
|
test_files: []
|
91
89
|
|
90
|
+
has_rdoc:
|