location -> komavars
authorMarei Peischl <marei@peitex.de>
Thu, 21 Nov 2019 13:17:10 +0000 (14:17 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 3 Feb 2020 11:21:38 +0000 (12:21 +0100)
kiviletter.sty
sales_quotation.tex

index fe39c96..c05713d 100644 (file)
@@ -85,6 +85,29 @@ contents={\usebox\shippingAddressBox}
 
 \ExplSyntaxOff
 
+
+\setkomavar{location}{
+       \begin{flushright}
+               \bfseries
+               \LARGE
+               \usekomavar{title}
+%              \angebot
+%              \par
+%              \medskip
+%              \large\nr ~<%quonumber%>
+       \end{flushright}
+
+       \medskip
+       \begin{tabularx}{\linewidth}{@{}l<{:}>{\raggedright\arraybackslash}X@{}}
+               \datum&\usekomavar{date}\\%%<%transdate%>\\
+               \kundennummer&\usekomavar{customer}\\%<%customernumber%>\\
+               \ansprechpartner&\usekomavar{fromname}\\%<%employee_name%>\\
+               \textTelefon&\usekomavar{fromphone}\\%<%employee_tel%>\\
+               \textEmail&\usekomavar{fromemail}\\%<%employee_email%>
+       \end{tabularx}
+}
+
+
 \renewcommand*{\raggedsignature}{\raggedright}
 
 \endinput
index 64fd84f..ea81db5 100644 (file)
 <%salesman_name%>%
 }
 
-\setkomavar{offer}{<%quonumber%>}
 \setkomavar{date}{<%transdate%>}
 \setkomavar{customer}{<%customernumber%>}
 \setkomavar{fromname}{<%employee_name%>}
 \setkomavar{fromphone}{<%employee_tel%>}
 \setkomavar{fromemail}{<%employee_email%>}
+\setkomavar{title}{
+       \angebot
+       \par
+       \medskip
+       \large\nr ~<%quonumber%>
+}
 
 %\begin{minipage}[t]{8cm}
 %  \scriptsize