From 6dbff9b71a4ff68cd524c9882f3c349f12bd38be Mon Sep 17 00:00:00 2001 From: Marei Peischl Date: Sun, 22 Dec 2019 19:04:31 +0100 Subject: [PATCH] add komavar delivery/empty/myref/yourref --- kiviletter.sty | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/kiviletter.sty b/kiviletter.sty index 092bf2b63..0bcf7466e 100644 --- a/kiviletter.sty +++ b/kiviletter.sty @@ -42,6 +42,8 @@ \LoadLetterOption{DIN} \newkomavar{transaction} +\newkomavar[\lieferschein{}~\nr]{delivery} +\newkomavar[\angebot{}~\nr]{quote} \usepackage{geometry} @@ -295,7 +297,19 @@ align=bl, \medskip \begin{tabularx}{\linewidth}{@{}l<{:}>{\raggedright\arraybackslash}X@{}} \usekomavar*{date}&\usekomavar{date}\\ + \ifkomavarempty{myref}{}{ + \usekomavar*{myref}&\usekomavar{myref}\\ + } \kundennummer&\usekomavar{customer}\\ + \ifkomavarempty{yourref}{}{ + \usekomavar*{yourref}&\usekomavar{yourref}\\ + } + \ifkomavarempty{delivery}{}{ + \usekomavar*{delivery}&\usekomavar{delivery}\\ + } + \ifkomavarempty{quote}{}{ + \usekomavar*{quote}&\usekomavar{quote}\\ + } \ansprechpartner&\usekomavar{fromname} \ifkomavarempty{fromphone}{}{\\\textTelefon&\usekomavar{fromphone}} \ifkomavarempty{fromemail}{}{\\\textEmail&\usekomavar{fromemail}} -- 2.20.1