simplify date variable
authorMarei Peischl <marei@peitex.de>
Sun, 22 Dec 2019 17:25:13 +0000 (18:25 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 3 Feb 2020 11:21:38 +0000 (12:21 +0100)
kiviletter.sty
sales_quotation.tex

index 98d0e64..092bf2b 100644 (file)
@@ -294,7 +294,7 @@ align=bl,
        \par
        \medskip
        \begin{tabularx}{\linewidth}{@{}l<{:}>{\raggedright\arraybackslash}X@{}}
-               \datum&\usekomavar{date}\\
+               \usekomavar*{date}&\usekomavar{date}\\
                \kundennummer&\usekomavar{customer}\\
                \ansprechpartner&\usekomavar{fromname}
                \ifkomavarempty{fromphone}{}{\\\textTelefon&\usekomavar{fromphone}}
index fc93486..06eb3f4 100644 (file)
@@ -1,4 +1,3 @@
-\PassOptionsToPackage{faketable}{kiviletter}
 \input{inheaders.tex}
 
 
@@ -24,6 +23,8 @@
 <%salesman_name%>%
 }
 
+\setkomavar*{date}{\datum}
+
 \setkomavar{date}{<%transdate%>}
 \setkomavar{customer}{<%customernumber%>}
 \setkomavar{fromname}{<%employee_name%>}
@@ -33,6 +34,7 @@
        \angebot~
        \nr ~<%quonumber%>
 }
+
 \setkomavar{transaction}{<%transaction_description%>}
 
 <%if shiptoname%>