ubill 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -2
- data/lib/ubill/invoice.rb +2 -2
- data/lib/ubill/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1207490a69f5bb356b6c89c6fae729518c0952c13a87731bb3c0c998a4c5202c
|
4
|
+
data.tar.gz: 7142d7578d4898d143cbe4c0d8ed417703a376bbd590cdf29646b69aef77357f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ff5a10a53d50e7418629cab49f718825a09cf4547d2a3ebf153914b184051fece73bf5622ccdc45c702b06ebd4a30b8ce5e63733a96986f11b57ae6c97496fb
|
7
|
+
data.tar.gz: 767da0467c922908b8b182d46f68cce977cb78f0c55dac69544bc346be6d58ebd4f9cea8e47d9ae0bfe98f21a1d83dc75e84d3924bdcc126b8eeb80096f76945
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -99,8 +99,7 @@ doc = Ubill::Invoice.new do
|
|
99
99
|
# name, context and description are rendered into
|
100
100
|
# one cell in the table as consecutive lines
|
101
101
|
name: "Standard Abonnement",
|
102
|
-
|
103
|
-
description: "Standard Abonnement für ein Jahr",
|
102
|
+
description: "SpVgg Demoburg -- Platz #{idx+1}\nStandard Abonnement für ein Jahr",
|
104
103
|
price_per_unit: "7,50 € / Monat",
|
105
104
|
units: "12",
|
106
105
|
price: "90,00 €"
|
data/lib/ubill/invoice.rb
CHANGED
@@ -36,10 +36,10 @@ module Ubill
|
|
36
36
|
@subject_info = subtitle
|
37
37
|
end
|
38
38
|
|
39
|
-
def position(name:,
|
39
|
+
def position(name:, description:, price_per_unit:, units:, price:)
|
40
40
|
@positions << [
|
41
41
|
@positions.size,
|
42
|
-
"<b>#{name}</b><font size=\"9\">\n#{
|
42
|
+
"<b>#{name}</b><font size=\"9\">\n#{description}</font>",
|
43
43
|
price_per_unit,
|
44
44
|
units,
|
45
45
|
price
|
data/lib/ubill/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ubill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- couchbelag
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|