From 07b78c2752a5492ff15e82f0d1086f3e5a5ab9d5 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 18 Sep 2020 00:10:16 +0200 Subject: correct template VAT summary --- templates/template.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates') 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}}\\ -- cgit v1.2.3