Revision da130c6d
Von Marei Peischl vor fast 5 Jahren hinzugefügt
kiviletter.sty | ||
---|---|---|
41 | 41 |
]{scrletter} |
42 | 42 |
\LoadLetterOption{DIN} |
43 | 43 |
|
44 |
\newkomavar{transaction} |
|
45 |
|
|
44 | 46 |
\usepackage{geometry} |
45 | 47 |
|
46 | 48 |
\ExplSyntaxOn |
... | ... | |
62 | 64 |
\DeclareNewLayer[ |
63 | 65 |
foreground, |
64 | 66 |
hoffset=\useplength{toaddrhpos}, |
65 |
voffset=\dimexpr\useplength{toaddrvpos}+\useplength{toaddrheight}+2\baselineskip,
|
|
67 |
voffset=\dimexpr\useplength{toaddrvpos}+\useplength{toaddrheight}+4\baselineskip,
|
|
66 | 68 |
contents={\usebox\shippingAddressBox} |
67 | 69 |
]{kivitendo.shippingaddress} |
68 | 70 |
|
... | ... | |
280 | 282 |
} |
281 | 283 |
\bool_gset_false:N \g_kivi_restore_geometry_bool |
282 | 284 |
} |
283 |
%\ExplSyntaxOff |
|
285 |
|
|
286 |
|
|
284 | 287 |
|
285 | 288 |
\if@kivi@infobox |
286 |
\newkomavar{locationtitle} |
|
287 | 289 |
\setkomavar{location}{ |
288 |
\begin{flushright} |
|
289 |
\bfseries |
|
290 |
\LARGE |
|
291 |
\usekomavar{locationtitle} |
|
292 |
\end{flushright} |
|
290 |
\ifkomavarempty{transaction}{}{ |
|
291 |
\bfseries |
|
292 |
\usekomavar{transaction} |
|
293 |
} |
|
293 | 294 |
\par |
294 | 295 |
\medskip |
295 | 296 |
\begin{tabularx}{\linewidth}{@{}l<{:}>{\raggedright\arraybackslash}X@{}} |
... | ... | |
301 | 302 |
\end{tabularx} |
302 | 303 |
} |
303 | 304 |
\removereffields |
304 |
|
|
305 |
%\ExplSyntaxOn |
|
306 | 305 |
\AtBeginLetter{ |
307 |
\ifkomavarempty{title}{}{ |
|
308 |
\exp_args:Nno\setkomavar{locationtitle}{\scr@title@var} |
|
309 |
\setkomavar{title}{} |
|
310 |
} |
|
311 | 306 |
\ifdim\ht\shippingAddressBox>\z@ |
312 | 307 |
\addtoplength{refvpos}{\ht\shippingAddressBox} |
313 |
\addtoplength{refvpos}{2\baselineskip}
|
|
308 |
\addtoplength{refvpos}{4\baselineskip}
|
|
314 | 309 |
\fi |
315 | 310 |
} |
316 | 311 |
\ExplSyntaxOff |
sales_quotation.tex | ||
---|---|---|
30 | 30 |
\setkomavar{fromphone}{<%employee_tel%>} |
31 | 31 |
\setkomavar{fromemail}{<%employee_email%>} |
32 | 32 |
\setkomavar{title}{ |
33 |
\angebot |
|
34 |
\par |
|
35 |
\medskip |
|
36 |
\large\nr ~<%quonumber%> |
|
33 |
\angebot~ |
|
34 |
\nr ~<%quonumber%> |
|
37 | 35 |
} |
36 |
\setkomavar{transaction}{<%transaction_description%>} |
|
38 | 37 |
|
39 | 38 |
%\begin{minipage}[t]{8cm} |
40 | 39 |
% \scriptsize |
Auch abrufbar als: Unified diff
adjust title and transaction_descripntion