projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497a406
)
initial pagestyle config
author
Marei Peischl
<marei@peitex.de>
Thu, 21 Nov 2019 11:04:04 +0000
(12:04 +0100)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 3 Feb 2020 11:21:38 +0000
(12:21 +0100)
kiviletter.sty
patch
|
blob
|
history
diff --git
a/kiviletter.sty
b/kiviletter.sty
index
d7f0ec4
..
069e2b1
100644
(file)
--- a/
kiviletter.sty
+++ b/
kiviletter.sty
@@
-31,6
+31,16
@@
\bool_new:N \l_kivi_tmp_bool
\ExplSyntaxOff
-%TODO babel setup
+\newsavebox{\shippingAddressBox}
+
+
+\DeclareNewLayer[
+foreground,
+hoffset=\useplength{toaddrhpos},
+voffset=\dimexpr\useplength{toaddrvpos}+\useplength{toaddrheight}+\baselineskip,
+contents={\usebox\shippingAddressBox}
+]{kivitendo.shippingaddress}
+\DeclareNewPageStyleByLayers{kivitendo.letter.first}{kivitendo.shippingaddress}
+
\endinput