Skip to content

Commit 668c0b1

Browse files
authored
Merge pull request #15 from marination/tax-exemption-reason
feat: Print "Tax Exemption Reason" if present in the document
2 parents 317519c + 448ec7d commit 668c0b1

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

print_format/quotation.jinja

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,16 @@
196196
</tr>
197197
{% endif %}
198198
{%- endfor %}
199+
200+
{% if doc.tax_exemption_reason %}
201+
<tr>
202+
<td></td>
203+
<td>{{ _(doc.tax_exemption_reason) }}</td>
204+
<td></td>
205+
<td></td>
206+
<td colspan="2"></td>
207+
</tr>
208+
{% endif %}
199209
{%- endif %}
200210
<tr>
201211
<td></td>

print_format/sales_invoice.jinja

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,16 @@
205205
</tr>
206206
{% endif %}
207207
{%- endfor %}
208+
209+
{% if doc.tax_exemption_reason %}
210+
<tr>
211+
<td></td>
212+
<td>{{ _(doc.tax_exemption_reason) }}</td>
213+
<td></td>
214+
<td></td>
215+
<td colspan="2"></td>
216+
</tr>
217+
{% endif %}
208218
{%- endif %}
209219
<tr>
210220
<td></td>

print_format/sales_order.jinja

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,16 @@
209209
</tr>
210210
{% endif %}
211211
{%- endfor %}
212+
213+
{% if doc.tax_exemption_reason %}
214+
<tr>
215+
<td></td>
216+
<td>{{ _(doc.tax_exemption_reason) }}</td>
217+
<td></td>
218+
<td></td>
219+
<td colspan="2"></td>
220+
</tr>
221+
{% endif %}
212222
{%- endif %}
213223
<tr>
214224
<td></td>

0 commit comments

Comments
 (0)