| Previous topic :: Next topic |
| Author |
Message |
bingo78
Joined: 28 Apr 2007
Posts: 2
|
| Posted: Sat Apr 28, 2007 3:14 am Post subject: tax on 5.2/3 |
|
|
Hello, I just tested V5.2 and 5.3 on wip.
Everything works fine but the TAX.
I'm from Canada, Quebec. We have 2 tax, GST and QST.
GST=subtotal*GST_rate
QST=(subtotal+GST)*QST_rate
for example
black fish, $10/unit, so
if I buy 10, it's
10*10=$100 for subtotal
GST=100*6%=6
QST=(100+6)*7.5%=7.95
on the invoice, we should also put GST and QST
=================
but from Vtiger
black fish, $10/unit, so
if I buy 10, it's
10*10=$100 for subtotal
GST=100*6%=6
QST=100*7.5%=7.5
on the invoice, tax was put in one place.
I know some php, I want to modify but I don't know where can I start from. Can anybody give me some hints.
Thanks |
|
| Back to top |
|
bingo78
Joined: 28 Apr 2007
Posts: 2
|
| Posted: Mon Apr 30, 2007 2:37 am Post subject: tax on 5.2/3 |
|
|
I have a solution but I don't where can I put the modification codes.
my solution is to give each tax rate a base amount setting. for example, GST can be set to be based on SUB-TOTAL. QST can be set to based on GST+SUB-TOTAL |
|
| Back to top |
|
jamesmoey
Joined: 12 Aug 2005
Posts: 139
Location: Sydney, Australia
|
| Posted: Mon Apr 30, 2007 4:27 am Post subject: tax on 5.2/3 |
|
|
| I think tax calculation is done at javascript level. File you need to modify probably at a JS file. Hope this help. |
|
| Back to top |
|
krisbfunk
Joined: 22 Jun 2008
Posts: 42
|
| Posted: Wed Jun 25, 2008 7:52 pm Post subject: Re: tax on 5.2/3 |
|
|
| If anyone could give an indication of which JS file, that would be great. |
|
| Back to top |
|
| |