Treat invoice ID as number or string
avoid undefined value for $entry->child("entry:invoice")
avoid undefined value for $entry->child("entry:action")
get replacement variables not in while
add invoice items as parameters to avoid latex code in perl script
add parameter in sub definition of l_enc
remove sub createLaTeXTable, use createLaTexParams is more flexible
add some more parameters for invoice
fill in some more fields in the parameters
New functions for amount calculation:
- CalculateDiscount
- CalculateTax
- getAmount
These include discount and tax caclulation fully compatible with the
calculation that gnucash does.
use new sub getAmount to caculate all amounts. This includes now discount calculation
remove unused functions
replace multiple occurences of GNUCASH variable in one line
fix example template to not use gc2latex generated table but pameters
add all address fields, alow empty lines in address