summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-09-18 00:10:16 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-09-18 00:13:27 +0200
commit07b78c2752a5492ff15e82f0d1086f3e5a5ab9d5 (patch)
treee3378196eba5620c38407f415d3f53b7ad000dc2 /templates
parent7c42d4c1949516fdadb5db0634436b1451adf56d (diff)
correct template VAT summary
Diffstat (limited to 'templates')
-rw-r--r--templates/template.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/template.tex b/templates/template.tex
index 00bdb98..97192b8 100644
--- a/templates/template.tex
+++ b/templates/template.tex
@@ -209,9 +209,10 @@ Fecha: {{ invoice.date }}
\begin{table}[h]
-\begin{tabularx}{\textwidth}{ccc}
- \multicolumn{3}{c}{\textbf{Desglose IVA}} \\
- \textbf{\%} & \textbf{Base Imp.} & \textbf{Importe} \\
+\begin{tabularx}{0.4\textwidth}{XXX}
+ \toprule
+ \textbf{IVA\%} & \textbf{Base Imp.} & \textbf{Importe} \\
+ \midrule
{% for i in invoice["vat-summary"]-%}
{{i.vat * 100}} & {{i.base}} & {{i.charged}}\\