From: Marei Peischl Date: Sun, 22 Dec 2019 18:04:31 +0000 (+0100) Subject: add komavar delivery/empty/myref/yourref X-Git-Tag: release-3.5.6.1~296 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6dbff9b71a4ff68cd524c9882f3c349f12bd38be;p=kivitendo-erp.git add komavar delivery/empty/myref/yourref --- 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}}