[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Tax&Shipping!!!
Quoting Philippe Roche (allosteric@videotron.ca):
> Hi,
>
> I have a problem with the two sales tax in canada/Quebec
> I've read the announce concerning this problem and find this:
> ---------------------------------------------------------------------------
> This one comes up often enough that we need an FAQ. You need
> to use the mv_handling feature.
>
> In shipping.asc:
>
> gst GST [subtotal noformat=1] 0 99999999 x .07
> pst PST [subtotal noformat=1] [value state] 0 0 0
> pst PST for Alberta AB 0 99999999 x .075
> pst PST for Ontario ON 0 99999999 x .08
> etc.
> pst No PST 0 99999999 0
>
> GST is always applied, but PST can be geographically qualified
> on province. The first line just sets up the geographic qualification.
>
> Now just set:
>
> [value name=mv_handling set="gst pst" hide=1]
>
> somewhere at the top of the checkout page.
>
> Finally:
>
> GST: [shipping gst]
> PST: [shipping pst]
y
>
> -------------------------------------------------------------------------------
> This work! but the calcul of the tax is not valid: exemple:
> This solution calcul this way:
> subtotal=10.00$ + tax1(0.70$) + tax2(0.75$) = 11.45$
> And i need this:
> subtotal=10.00 + tax1 = 10.70 x tax2 = 0,80.--> totaltax1(10.70) + tax2(0.80)
> = 11.50
> In a larger number the diffrence is important...to important!
Try:
f [calc] @@TOTAL@@ + [handling mode=gst noformat=1] * .08 [/calc]
instead of "x .08" in your cost field.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users