MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Newbie: how to implement a german sales tax ?



******    message to minivend-users from Holm Tiffe <holm@freibergnet.de>     ******

Markus M&#252;ller wrote:

> ******    message to minivend-users from "=?iso-8859-1?Q?Markus_M=FCller?=" <mueller@ass-software.de>     ******
> 
> 
> > price: = products:price + products:price * products:vat /100
> >
> 
> 
> ==> [currency][calc][item-price] + ([item-price]*[item-field vat] /
> 100)[/calc][/currency]
> 

Yea this is the theory, but this doesn't work here,
(I have 3.11 on FreeBSD 4.0-current).
I've played with souch things a litte, [item-price] is always evaluated to 0 !
Even a [currency][item-price][/currency]  and a [item-price] alone 
generates a DM 0.00  price.

If I reference [item-field vat] minivend simply hangs forever. 
The deamon takes all of the CPU time. I have to kill the cgi and the minivend
daemon.
The products database is the plain products.asc containing only 6 artikles.
If I set CommonAdjust to products:vat I get the vat as price, products:price
sets it to the price, ok, but I have had no luck with those minivend tags.

BTW: how recognizes Minivend where to get the item-price when CommonAdjust
is'nt set to products:price ? Is the price field in the products database
the  default or what ?

Please help,

Holm
-- 
FreibergNet Systemhaus GbR      Holm Tiffe  * Administration, Development
Systemhaus f&#252;r Daten- und Netzwerktechnik           phone +49 3731 781279
Unternehmensgruppe Liebscher & Partner                fax +49 3731 781377
D-09599 Freiberg * Am St. Niclas Schacht 13    http://www.freibergnet.de/

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: