invoice_printer 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/invoice_printer/pdf_document.rb +4 -4
- data/lib/invoice_printer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6529faa82615534d3264b96cd81e8402fb46543f
|
4
|
+
data.tar.gz: 39685b41d40e812c7b83d95994e1dfad9dafe5ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b180c62070d36ab9d1ad80db58e583bfd43068daf8b1dfbb4acd7129b50d84e50d47f5ecf2ca7cb9e5d689f1ce84f4f21174ce1b9baaa60db8d6b37018ab375
|
7
|
+
data.tar.gz: 988a1f21746a489cf0f350208e2b985e1a72995667f6f31c5a9fdab51370cce7919022126ef3f8696af04e0e92d5f260fea8a49419e1ee23bba117c3e4a29916
|
@@ -284,17 +284,17 @@ module InvoicePrinter
|
|
284
284
|
width: 240
|
285
285
|
)
|
286
286
|
end
|
287
|
-
unless @document.
|
287
|
+
unless @document.purchaser_ic.empty?
|
288
288
|
@pdf.text_box(
|
289
|
-
"#{@labels[:
|
289
|
+
"#{@labels[:ic]}: #{@document.purchaser_ic}",
|
290
290
|
size: 10,
|
291
291
|
at: [290, 550 - @push_down],
|
292
292
|
width: 240
|
293
293
|
)
|
294
294
|
end
|
295
|
-
unless @document.
|
295
|
+
unless @document.purchaser_dic.empty?
|
296
296
|
@pdf.text_box(
|
297
|
-
"#{@labels[:
|
297
|
+
"#{@labels[:dic]}: #{@document.purchaser_dic}",
|
298
298
|
size: 10,
|
299
299
|
at: [290, 535 - @push_down],
|
300
300
|
width: 240
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: invoice_printer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josef Strzibny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.
|
136
|
+
rubygems_version: 2.4.8
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Super simple PDF invoicing in pure Ruby
|