polish_invoicer 0.0.11 → 0.0.12
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/version.rb +1 -1
- data/tpl/proforma-en.slim +5 -5
- 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: 65c0db3584924c4d4953d45583d64ed9aed851ab
|
4
|
+
data.tar.gz: fa3e921813ac9440e3a708fd24881746726d618a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6833d551f4ad8910be94518c2e4d6f87a9d4515048593e53e63c28123a566942a0b821a3bd3913a724b21bf69f03c7aa1ccdf14a614dbd94aaff33c3585060d
|
7
|
+
data.tar.gz: 935a722cb275fc23899a9122fca3be8d124f9d36e88f33cc11c03f92abcc9ba235bda7d39ae915f70d45bb3d90b6cf88daa14f59101c867a2faf85ee9c491fe7
|
data/tpl/proforma-en.slim
CHANGED
@@ -115,7 +115,7 @@ html
|
|
115
115
|
em 1 service
|
116
116
|
td.text-center = net_value
|
117
117
|
td.text-center = net_value
|
118
|
-
td.text-center = net_value
|
118
|
+
td.text-center = (reverse_charge == true ? net_value : gross_value)
|
119
119
|
tr
|
120
120
|
td colspan="#{pkwiu ? 3 : 2}"
|
121
121
|
|
|
@@ -124,7 +124,7 @@ html
|
|
124
124
|
.small
|
125
125
|
em Total
|
126
126
|
td.text-center = net_value
|
127
|
-
th.text-center = net_value
|
127
|
+
th.text-center = (reverse_charge == true ? net_value : gross_value)
|
128
128
|
|
129
129
|
br
|
130
130
|
|
@@ -136,7 +136,7 @@ html
|
|
136
136
|
.small
|
137
137
|
em Total to pay:
|
138
138
|
.col-xs-6
|
139
|
-
b = "#{net_value} PLN"
|
139
|
+
b = "#{reverse_charge == true ? net_value : gross_value} PLN"
|
140
140
|
.row
|
141
141
|
.col-xs-6
|
142
142
|
| Zapłacono:
|
@@ -144,7 +144,7 @@ html
|
|
144
144
|
em Amount paid:
|
145
145
|
.col-xs-6
|
146
146
|
- if paid
|
147
|
-
= "#{net_value} PLN"
|
147
|
+
= "#{reverse_charge == true ? net_value : gross_value} PLN"
|
148
148
|
- else
|
149
149
|
| 0,00 PLN
|
150
150
|
.row
|
@@ -156,7 +156,7 @@ html
|
|
156
156
|
- if paid
|
157
157
|
| 0,00 PLN
|
158
158
|
- else
|
159
|
-
= "#{net_value} PLN"
|
159
|
+
= "#{reverse_charge == true ? net_value : gross_value} PLN"
|
160
160
|
|
161
161
|
.col-xs-6
|
162
162
|
- if comments.any?
|