polish_invoicer 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/polish_invoicer/validator.rb +1 -1
- data/lib/polish_invoicer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3f7e001192f272c399b89003c67319860952016
|
4
|
+
data.tar.gz: 81fbc5378c8c2d768116b0ad2f0c7286330e1ea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3445e63f58a3fa8a665fb7eef10a846a046f1e4d13d66aab1591aa3426b20d7cb2a0bac769e9ed28b1e3c243bc67c38cfd66aee7261876d9d2ae1a425f338e4
|
7
|
+
data.tar.gz: 477e55cf5e6a946ab513a4a7ffa5f1f82ae99e0d1de72bee6e99211d4ec7c40ca68af436ff3bc2d0395eebde24f536815d26544af8cfda8bcb141fe8d8212139
|
@@ -99,7 +99,7 @@ module PolishInvoicer
|
|
99
99
|
return if @errors[:create_date]
|
100
100
|
return if @errors[:payment_date]
|
101
101
|
return if @invoice.create_date <= @invoice.payment_date
|
102
|
-
@errors[:payment_date] = 'Termin płatności
|
102
|
+
@errors[:payment_date] = 'Termin płatności nie może być wcześniejszy niż data wystawienia'
|
103
103
|
end
|
104
104
|
|
105
105
|
def blank?(value)
|