polish_invoicer 0.0.31 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/.ruby-version +1 -1
- data/README.md +1 -0
- data/lib/polish_invoicer/invoice.rb +1 -0
- data/lib/polish_invoicer/version.rb +1 -1
- data/tpl/invoice-en.slim +3 -0
- data/tpl/invoice-es.slim +3 -0
- data/tpl/invoice-pl.slim +3 -0
- data/tpl/invoice-pl_en.slim +6 -0
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1bc150b3394d7c7b2f413aa60b1786497feee7c3fc2e5636e538757decae08a9
|
|
4
|
+
data.tar.gz: 6050884b9617130c8c5af7b56c729b77b07d2d967306f99a409a34a4268e3536
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bad0d1bd56b0fa9179ae8a1a2a8f846cebbfa8f16ed6d7429799ba1e55621d362b51bae19f95f9b7f938149a52d5c8c0772e94aace04fea8a11c4eeb42b7f79b
|
|
7
|
+
data.tar.gz: 5e707f06500268e19d0e8c5fb1a3f699d3e73351c702e74042e6845adae0e14b615422a476f5a7c2b9647999c37137cb1dd5997578a21aa3b6e495e2429db3fd
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -22,10 +22,10 @@ jobs:
|
|
|
22
22
|
runs-on: ubuntu-22.04
|
|
23
23
|
strategy:
|
|
24
24
|
matrix:
|
|
25
|
-
ruby-version: ['3.
|
|
25
|
+
ruby-version: ['3.2', '3.3', '3.4']
|
|
26
26
|
|
|
27
27
|
steps:
|
|
28
|
-
- uses: actions/checkout@
|
|
28
|
+
- uses: actions/checkout@v5
|
|
29
29
|
- name: Set up Ruby
|
|
30
30
|
uses: ruby/setup-ruby@v1
|
|
31
31
|
with:
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.3.10
|
data/README.md
CHANGED
|
@@ -109,6 +109,7 @@ invoice.save_to_pdf('/path/to/invoice.pdf')
|
|
|
109
109
|
:no_vat_reason, # podstawa prawna zwolnienia z VAT (string)
|
|
110
110
|
:footer, # treść umieszczana w stopce faktury (string)
|
|
111
111
|
:price_paid, # kwota częściowego opłacenia faktury w złotych (float)
|
|
112
|
+
:ksef_number, # numer faktury w KSeF (string)
|
|
112
113
|
|
|
113
114
|
### Parametry systemowe
|
|
114
115
|
|
|
@@ -4,6 +4,7 @@ module PolishInvoicer
|
|
|
4
4
|
class Invoice
|
|
5
5
|
AVAILABLE_PARAMS = [
|
|
6
6
|
:number, # numer faktury (string)
|
|
7
|
+
:ksef_number, # numer faktury w KSeF (string)
|
|
7
8
|
:create_date, # data wystawienia faktury (date)
|
|
8
9
|
:trade_date, # data sprzedaży (date)
|
|
9
10
|
:seller, # adres sprzedawcy (tablica stringów)
|
data/tpl/invoice-en.slim
CHANGED
data/tpl/invoice-es.slim
CHANGED
data/tpl/invoice-pl.slim
CHANGED
data/tpl/invoice-pl_en.slim
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: polish_invoicer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.33
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Piotr Macuk
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -172,7 +171,6 @@ licenses:
|
|
|
172
171
|
- MIT
|
|
173
172
|
metadata:
|
|
174
173
|
rubygems_mfa_required: 'true'
|
|
175
|
-
post_install_message:
|
|
176
174
|
rdoc_options: []
|
|
177
175
|
require_paths:
|
|
178
176
|
- lib
|
|
@@ -187,8 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
187
185
|
- !ruby/object:Gem::Version
|
|
188
186
|
version: '0'
|
|
189
187
|
requirements: []
|
|
190
|
-
rubygems_version: 3.
|
|
191
|
-
signing_key:
|
|
188
|
+
rubygems_version: 3.7.2
|
|
192
189
|
specification_version: 4
|
|
193
190
|
summary: Creates polish invoices and proforms as HTML or PDF files
|
|
194
191
|
test_files: []
|