X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fprint%2FRB%2Finvoice.tex;h=1435e732db44955b4b4bd8fef89359f3f9a55786;hb=f15f5e4321df31d2279edb480e9c7fc15c3af31c;hp=170ae3a0a21579f5e2cf7b2aa33325839e366860;hpb=434d7c13b2618f29235e8f7adc93001ae5552915;p=kivitendo-erp.git diff --git a/templates/print/RB/invoice.tex b/templates/print/RB/invoice.tex index 170ae3a0a..1435e732d 100644 --- a/templates/print/RB/invoice.tex +++ b/templates/print/RB/invoice.tex @@ -5,7 +5,7 @@ \newcommand{\lxlangcode} {<%template_meta.language.template_code%>} \newcommand{\lxmedia} {<%media%>} \newcommand{\lxcurrency} {<%currency%>} -\newcommand{\lxtitlebar} {<%titlebar%>} +\newcommand{\kivicompany} {<%employee_company%>} % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile \input{insettings.tex} @@ -18,15 +18,19 @@ \begin{document} \ourfont - \begin{minipage}[t]{8cm} - \vspace*{1.0cm} + \scriptsize + + {\color{gray}\underline{\firma\ $\cdot$ \strasse\ $\cdot$ \ort}} + \normalsize + + \vspace*{0.3cm} <%name%> - <%department_1%> + <%if department_1%><%department_1%><%end if%> - <%department_2%> + <%if department_2%><%department_2%><%end if%> <%cp_givenname%> <%cp_name%> @@ -62,15 +66,34 @@ \ansprechpartner:\hfill <%employee_name%> - <%if globalprojectnumber%> \projektnummer:\hfill <%globalprojectnumber%> <%end globalprojectnumber%> + \textTelefon \hfill <%employee_tel%> + + \textEmail \hfill <%employee_email%> \end{minipage} +<%if shiptoname%> + \vspace{0.8cm} + \scriptsize \underline{\abweichendeLieferadresse:}\\ + \normalsize <%shiptoname%> + + <%if shiptocontact%> <%shiptocontact%><%end if%> + + <%shiptodepartment_1%> + + <%shiptodepartment_2%> + + <%shiptostreet%> + + <%shiptozipcode%> <%shiptocity%> +<%end if%> \vspace*{1.5cm} \hfill -% Anrede nach Geschlecht unterscheiden -\ifthenelse{\equal{<%cp_name%>}{}}{\anrede}{ +% Bei Kontaktperson Anrede nach Geschlecht unterscheiden. +% Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede. +\ifthenelse{\equal{<%cp_name%>}{}}{ + <%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>}{ \ifthenelse{\equal{<%cp_gender%>}{f}} {\anredefrau}{\anredeherr} <%cp_title%> <%cp_name%>,}\\ %\rechnungsformel\\ @@ -93,16 +116,16 @@ % \setlength\LTleft\parindent % Tabelle beginnt am linken Textrand \setlength\LTright{0pt} % Tabelle endet am rechten Textrand -\begin{longtable}{@{}rrp{9cm}@{\extracolsep{\fill}}rrr@{}} +\begin{longtable}{@{}rrp{7cm}@{\extracolsep{\fill}}rrr@{}} % Tabellenkopf \hline -\textbf{\position} & & \textbf{\bezeichnung} & \textbf{\menge} & \textbf{\einzelpreis} & \textbf{\gesamtpreis} \\ +\textbf{\position} & \textbf{\artikelnummer} & \textbf{\bezeichnung} & \textbf{\menge} & \textbf{\einzelpreis} & \textbf{\gesamtpreis} \\ \hline\\ \endhead % Tabellenkopf erste Seite \hline -\textbf{\position} & & \textbf{\bezeichnung} & \textbf{\menge} & \textbf{\einzelpreis} & \textbf{\gesamtpreis} \\ +\textbf{\position} & \textbf{\artikelnummer} & \textbf{\bezeichnung} & \textbf{\menge} & \textbf{\einzelpreis} & \textbf{\gesamtpreis} \\ \hline\\[-0.5em] \endfirsthead @@ -124,7 +147,7 @@ % eigentliche Tabelle <%foreach number%> <%runningnumber%> & - & + <%number%> & \textbf{<%description%>} & \raggedleft <%qty%> <%unit%> & <%sellprice%> \currency & @@ -136,6 +159,11 @@ <%if serialnumber%> && \scriptsize \seriennummer: <%serialnumber%>\\<%end serialnumber%> <%if ean%> && \scriptsize \ean: <%ean%>\\<%end ean%> <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%> + <%if customer_make%> + <%foreach customer_make%> + \ifthenelse{\equal{<%customer_make%>}{<%name%>}}{&& \kundenartnr: <%customer_model%>\\}{} + <%end foreach%> + <%end if%> \\[-0.8em] <%end number%> @@ -166,4 +194,3 @@ <%employee_name%> \end{document} -