[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing tax.pm in 1.21 for a new tax which replaces two old taxes



On Tue, Jul 6, 2010 at 7:57 AM, Gerald Chudyk <..hidden..> wrote:

>  chart_id | rate | taxnumber |  validto   | pass | taxmodule_id
> ----------+------+-----------+------------+------+--------------
>    10131 | 0.05 |           | 2010-06-30 |    0 |            1
>    10127 | 0.05 |           | 2010-06-30 |    0 |            1
>    10129 |    0 |           | 2010-06-30 |    0 |            1
>   120149 |    0 |           | 2010-06-30 |    0 |            1
>   120147 |    0 |           | 2010-06-30 |    0 |            1
>    10125 | 0.07 |           | 2010-06-30 |    0 |            1
>   120147 | 0.12 |           |            |    0 |            1
>   120149 | 0.12 |           |            |    0 |            1
> (8 rows)
>
> This allows me to enter a new invoice in July with the correct tax. If
> I change the invoice date to a prior month such as April, the invoice
> shows HST Payable as the tax but with a blank amount. It should show
> two lines for the previous taxes,PST and GST.


So I think the key thing will be to take the Taxes/Simple.pm and
modify it so it doesn't retrieve 0-rate taxes.

Best Wishes,
Chris Travers