[ic] ... charged 0 tax ...

Dan Browning interchange-users@icdevgroup.org
Mon Aug 19 15:02:00 2002


At 02:25 PM 8/19/2002 -0500, you wrote:

>Sunday August 18 2002 19:00, Dan Browning wrote to All:
>
>  >> var ch = form.state.value;        ch = ch.toUpperCase();  [loop
>  >> list="__TAXAREA__"]        if(ch == "[loop-code]") {
>  >> alert("You will be charged [currency][fly-tax
>  > [loop-code]][/currency]
>  >> sales tax\nsince you are shipping to [loop-code]. Click Recalculate
>
>  DB> "This would happen if [fly-tax] gives you different results than
>  DB> [salestax] (e.g. if you use [assign])."
>
>  DB> You can either fix the fly-tax problem, or remove the amount from
>  DB> the
>  DB> message.  What's the big mystery?
>
>I tried various ways of removing the message, but lost the refresh
>function in the process. I.e. I don't know how to properly fix it.
>
>  KS

Okay, I'm sorry; I didn't understand your question the first time.  Plus, I 
think I got up on the wrong side of the bed when I replied to your 
message.  :-)

Here is an example modification that will not lose the refresh:
==================
- you will be charged [currency][fly-tax [loop-code]][/currency] sales 
tax\nsince you are shipping to [loop-code]. Click Recalculate
+ you will be charged additional sales tax since you are shipping to 
[loop-code].  Click Recalculate
==================
(I.e. just change the [currency...] stuff with "additional").  If you need 
to get the original version, just check the original tarball of 
Interchange.  Cheers,

+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db@kavod.com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"... all the modern inconveniences ..."
                 -- Mark Twain