Goodmorning,
Almost ready to send invoices to the world, the day we are all longing
for ;)
Somehow I can't get the \getvariable right within the table.
On top of the file I've got:
-snip
\setvariables
[getallen]
[uurtarief=300,
buy-out=399,
agency=20]
-snip
Then I want to use these figures, which are fictional by the way, in the
table, so I tried to incorporate them in the table with the \getvariable
command. Please look at the attached file, and tell me what I'm doing
wrong here.
Thanks,
Roef
\def\bTN#1\eTN{\bTD\digits#1\relax\eTD}
\setupTABLE [breedte=3cm]
\setupTABLE[kolom] [1] [uitlijnen=rechts]
\setupTABLE[kolom] [uitlijnen=midden]
\setupTABLE[laatste][laatste][achtergrond=kleur,
achtergrondkleur=grijs,
kleur=zwart]
\setupTABLE[kolom] [1] [letter=\ss,kleur=donkergrijs]
\setupTABLE[rij] [eerste] [letter=\ss,kleur=donkergrijs]
\setupTABLE[rij] [laatste][letter=\bf]
\setupTABLE[eerste] [eerste] [kader=uit]
\bTABLE
\bTR\bTD \eTD\bTD excl. \eTD\bTD btw \eTD\bTD incl. \eTD\eTR
\bTR\bTD uurtarief \eTD\bTN \getvariable{getal}{uurtarief} \eTN\bTN 6 \% \eTN\bTN 1234,45\eTN\eTR
\bTR\bTD buy-out \eTD\bTN \getvariable{getal}{buy-out} \eTN\bTN 19 \% \eTN\bTN 123,34 \eTN\eTR
\bTR\bTD buy-out \eTD\bTN 35,- \eTN\bTN 19 \% \eTN\bTN 1,45 \eTN\eTR
\bTR\bTD agency \eTD\bTN \getvariable{getal}{agency} \eTN\bTN 19 \% \eTN\bTN 45.234,01 \eTN\eTR
\bTR\bTD \eTD\bTD \eTD\bTD TOTAAL: \eTD\bTN 100.000,- \eTN\eTR
\eTABLE