X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fprint%2FRB%2Finvoice.tex;h=f3a7761f2263734702a76257f4770cb3f3152b48;hb=13412f21e0093c7940597934cba407cb2fd27505;hp=850c3f90152bd0d83802352432b483e661f57714;hpb=56c1989b39024f5ec78700bd775d96f3129c5510;p=kivitendo-erp.git diff --git a/templates/print/RB/invoice.tex b/templates/print/RB/invoice.tex index 850c3f901..f3a7761f2 100644 --- a/templates/print/RB/invoice.tex +++ b/templates/print/RB/invoice.tex @@ -2,10 +2,10 @@ % Variablen, die in settings verwendet werden -\newcommand{\lxtmpfile} {<%tmpfile%>} +\newcommand{\lxlangcode} {<%template_meta.language.template_code%>} \newcommand{\lxmedia} {<%media%>} \newcommand{\lxcurrency} {<%currency%>} -\newcommand{\lxcompany} {<%employee_company%>} +\newcommand{\kivicompany} {<%employee_company%>} % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile \input{insettings.tex} @@ -18,12 +18,22 @@ \begin{document} \ourfont - \begin{minipage}[t]{8cm} - \vspace*{1.0cm} + \scriptsize + + {\color{gray}\underline{\firma\ $\cdot$ \strasse\ $\cdot$ \ort}} + \normalsize + + \vspace*{0.3cm} <%name%> + <%if department_1%><%department_1%><%end if%> + + <%if department_2%><%department_2%><%end if%> + + <%cp_givenname%> <%cp_name%> + <%street%> ~ @@ -44,7 +54,7 @@ \rechnungsdatum:\hfill <%invdate%> - \auftragsnummer:\hfill <%ordnumber%> + <%if ordnumber%>\auftragsnummer:\hfill <%ordnumber%> <%end if%> \kundennummer:\hfill <%customernumber%> @@ -56,8 +66,25 @@ \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} @@ -67,17 +94,20 @@ \ifthenelse{\equal{<%cp_name%>}{}}{\anrede}{ \ifthenelse{\equal{<%cp_gender%>}{f}} {\anredefrau}{\anredeherr} <%cp_title%> <%cp_name%>,}\\ +%\rechnungsformel\\ + +<%if notes%> + <%notes%> +<%end if%> -\rechnungsformel\\ \vspace{0.5cm} % % - longtable kann innerhalb der Tabelle umbrechen -% - da der Umbruch nicht von Lx-Office kontrolliert wird, kann man kein -% Übertrag mit <%sumcarriedforward%> machen (dazu z.B. tablularx und -% <%pagebreak ... %> verwenden) +% - da der Umbruch nicht von Lx-Office kontrolliert wird, kann man keinen +% Übertrag machen % - Innerhalb des Langtextes <%longdescription%> wird nicht umgebrochen. % Falls das gewünscht ist, \\ mit \renewcommand umschreiben (siehe dazu: % http://www.lx-office.org/uploads/media/Lx-Office_Anwendertreffen_LaTeX-Druckvorlagen-31.01.2011_01.pdf) @@ -117,7 +147,7 @@ <%runningnumber%> & <%number%> & \textbf{<%description%>} & - \raggedleft <%qty%> <%unit%> & + \raggedleft <%qty%> <%unit%> & <%sellprice%> \currency & \ifthenelse{\equal{<%p_discount%>}{0}}{}{\sffamily\scriptsize{(-<%p_discount%> \%)}} \ourfont{<%linetotal%> \currency} \\* % kein Umbruch nach der ersten Zeile, damit Beschreibung und Langtext nicht getrennt werden @@ -136,18 +166,16 @@ \vspace{0.2cm} -<%if notes%> - \vspace{5mm} - <%notes%> - \vspace{5mm} -<%end if%> - \ifthenelse{\equal{<%deliverydate%>}{}}{\leistungsdatumGleichRechnungsdatum}{\lieferungErfolgtAm ~<%deliverydate%>.} \\ <%if payment_terms%> \zahlung ~<%payment_terms%>\\ <%end payment_terms%> +<%if delivery_term%> + \lieferung ~<%delivery_term.description_long%>\\ +<%end delivery_term%> + <%if ustid%>\ihreustid ~<%ustid%>.\\<%end if%> \ifthenelse{\equal{<%taxzone_id%>}{1}} @@ -159,4 +187,3 @@ <%employee_name%> \end{document} -