From: Marei Peischl Date: Wed, 27 Nov 2019 13:16:36 +0000 (+0100) Subject: add shippingAddressBox mechanism X-Git-Tag: release-3.5.6.1~309 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=84a7707e1de7cf9a67258dec688f9eb5e55a6893;p=kivitendo-erp.git add shippingAddressBox mechanism --- diff --git a/sales_quotation.tex b/sales_quotation.tex index 2cebc5df5..308a03c27 100644 --- a/sales_quotation.tex +++ b/sales_quotation.tex @@ -81,25 +81,28 @@ % \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 + +<%if shiptoname%> +\makeatletter + \begin{lrbox}\shippingAddressBox + \parbox{\useplength{toaddrwidth}}{ + \backaddr@format{\scriptsize\usekomafont{backaddress}% + \strut abweichende Lieferadresse + } + \par\smallskip + \setlength{\parskip}{\z@} + \par + \normalsize + <%shiptoname%>\par + <%if shiptocontact%> <%shiptocontact%><%end if%>\par + <%shiptodepartment_1%>\par + <%shiptodepartment_2%>\par + <%shiptostreet%>\par + <%shiptozipcode%> <%shiptocity%> + } +\end{lrbox} +\makeatother +<%end if%> \begin{letter}{