From: Marei Peischl Date: Wed, 27 Nov 2019 12:26:21 +0000 (+0100) Subject: improve PricingTable Pagestyle X-Git-Tag: release-3.5.6.1~315 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6f72b724fc0b4de553ad678807d904bd78fe7aa5;p=kivitendo-erp.git improve PricingTable Pagestyle --- diff --git a/kiviletter.sty b/kiviletter.sty index 5adf773ec..85bca4437 100644 --- a/kiviletter.sty +++ b/kiviletter.sty @@ -76,14 +76,15 @@ height=\box_ht:N \g_kivi_LT@head_box, contents={\box_use:N \g_kivi_LT@head_box}, ]{kivitendo.TableHead} + \DeclareNewLayer[ foreground, textarea, mode=picture, -voffset=\dim_eval:n {\paperheight-\g_kivi_margin_dim-\box_ht:N \g_kivi_LT@foot_box}, +voffset=\dim_eval:n {\paperheight-\g_kivi_margin_dim}, height=\box_ht:N \g_kivi_LT@foot_box, contents=\bool_if:NT \g_kivi_TableFoot_bool {\box_use:N \g_kivi_LT@foot_box}, -align=tl, +align=bl, ]{kivitendo.TableFoot} \AtBeginLetter{\dim_gset:Nn \g_kivi_orig@textheight_dim {\textheight}} @@ -95,7 +96,7 @@ align=tl, } \DeclareNewPageStyleByLayers{kivitendo.letter.first}{ kivitendo.shippingaddress, - kivitendo.TableFoot.first + kivitendo.TableFoot } \setkomavar{backaddress}{\firma\ $\cdot$ \strasse\ $\cdot$ \ort} @@ -238,6 +239,7 @@ align=tl, \widowpenalty0 \clubpenalty0 \bool_gset_true:N \g_kivi_TableFoot_bool + \pagestyle{kivitendo.letter.PricingTable} \leavevmode\box_use:N \g_kivi_LT@head_box \par\nointerlineskip\ignorespaces }