clear only LT foot boxes
authorMarei Peischl <marei@peitex.de>
Thu, 21 Nov 2019 15:48:39 +0000 (16:48 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 3 Feb 2020 11:21:38 +0000 (12:21 +0100)
kiviletter.sty

index 892f494..defdbd0 100644 (file)
@@ -87,6 +87,7 @@ contents={\usebox\shippingAddressBox}
 \seq_new:N \g_kivi_extraDescription_seq
 \newcommand{\FakeTable}[1]{
        \kivi_save_LT@boxes:
+       \box_gset_eq:NN \LT@lastfoot \c_empty_box
        \endPricingTabular
        \seq_set_split:Nnn \l_kivi_PricingTable_seq {\tabularnewline} {#1}
        \begingroup
@@ -116,7 +117,6 @@ contents={\usebox\shippingAddressBox}
 \cs_new:Nn \kivi_save_LT@boxes: {
        \clist_map_inline:nn {head, firsthead, foot, lastfoot} {
        \box_gset_eq:cc {g_kivi_LT@##1_box} {LT@##1}
-       \box_gclear:c {LT@##1}
        }
 }