[ic] Tax Exempt

Peter peter at pajamian.dhs.org
Tue Sep 19 18:37:53 EDT 2006

On 09/19/2006 03:04 PM, Steve Graham wrote:
> I can put:
> [tmp taxexempt]
> [data table=userdb column=tax_exempt key="[data session username]"]
> [/tmp]
> [if scratch taxexempt][assign salestax=0][/if]

I don't think setting a scratch here is necessary:
[if type=data term="userdb::tax_exempt::[data session username]"]
  [assign salestax=0]

> into my finalize checkout page, but personally it would be much cleaner
> to put a check in the salestax core utility, and add a new field to the
> userdb database for each customer.

A stub for a SpecialSub would probably work out well.


More information about the interchange-users mailing list