summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/template.tex17
1 files changed, 8 insertions, 9 deletions
diff --git a/templates/template.tex b/templates/template.tex
index 97192b8..b98a6f6 100644
--- a/templates/template.tex
+++ b/templates/template.tex
@@ -164,6 +164,7 @@
% Client data
\section*{CLIENTE}
+ {{invoice.customer.name}}\\
{% for line in invoice.customer.address.split("\n") -%}
{{line}}\\
{% endfor -%}
@@ -179,8 +180,7 @@ Fecha: {{ invoice.date }}
\begin{tabularx}{\textwidth}{lcccc}
\toprule
- \multirow{2}{*}{\textbf{DESCRIPCIÓN}} & \textbf{PRECIO UD.} & \textbf{UNIDADES} & \textbf{BASE IMP.} & \textbf{IVA} \\
- & (€/h) & (h) & (€) & (\%) \\
+ \textbf{DESCRIPCIÓN} & \textbf{PRECIO UD.} & \textbf{UNIDADES} & \textbf{BASE IMP.} & \textbf{IVA\%} \\
\midrule
{% for i in invoice.products -%}
@@ -188,17 +188,17 @@ Fecha: {{ invoice.date }}
{% endfor -%}
\midrule
- \multirow{ 4 }{*}{
+ \multirow{ {{invoice.taxes|length + 3}} }{*}{
\begin{tabular}{c}
\textbf{FORMA DE PAGO}\\
Transferencia o ingreso bancario\\
- Banca del mal ES00 0000 0000 00000 0000 0000
+ \textbf{KUTXABANK} ES62 2095 0061 5091 0959 0870
\end{tabular}
} & & SUBTOTAL & {{invoice.base}}\\
& & IVA & {{invoice["vat-charged"]}} \\
{% for i in invoice.taxes %}
- & & {{i.name}} ({{i.ratio}}\%) & {{i.applied}} \\
+ & & {{i.name}} ({{i.ratio * 100}}\%) & {{i.applied}} \\
{% endfor %}
& & \textbf{TOTAL} & {{invoice.total}} \\
@@ -225,19 +225,18 @@ Fecha: {{ invoice.date }}
\section*{OBSERVACIONES}
{%for i in invoice["notes"].split("\n") -%}
{{i}}\\
-{%endfor -%}
+{%endfor%}
% Company data
\vfill
\begin{center}
- \textbf{Ekaitz Zárraga} \\
- Fernandez del Campo 8 Exterior 2ºD \\
+ \textbf{EKAITZ ZÁRRAGA RÍO} \\
+ Fernandez del Campo 13 Centro 6D \\
48010 Bilbao (Bizkaia) \\
NIF: 45824316J \\
\texttt{http://elenq.tech}
\end{center}
-\vspace{2ex}
% End legal note
\hrulefill