VAT

Author Message

Vincent Saulnier

Tuesday 17 December 2002 6:47:26 am

In Quebec (Canada) there are two taxes.
One on top of the other (TVQ over TPS).

Exemple :

$priceTPS= $subTotalPrice*$TPS/100;
$priceTVQ= ($subTotalPrice+$priceTPS)*$TVQ/100;
$TotalPrive = $subTotalPrice + $priceTPS + $priceTVQ

Do you think you will support this kind of tax calculation in the near future?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 04:56:18
Script start
Timing: Jan 18 2025 04:56:18
Module start 'layout'
Timing: Jan 18 2025 04:56:18
Module start 'content'
Timing: Jan 18 2025 04:56:20
Module end 'content'
Timing: Jan 18 2025 04:56:20
Script end

Main resources:

Total runtime1.7957 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.2188152.6094
Module start 'layout' 0.00710.0036 741.828139.4141
Module start 'content' 0.01071.7833 781.2422399.9297
Module end 'content' 1.79390.0017 1,181.17198.2031
Script end 1.7956  1,189.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.1825160.0002
Check MTime0.00160.0897160.0001
Mysql Total
Database connection0.00080.042410.0008
Mysqli_queries1.758297.9134460.0382
Looping result0.00050.0277440.0000
Template Total1.750397.520.8752
Template load0.00220.119920.0011
Template processing1.748197.353920.8741
Template load and register function0.00020.009410.0002
states
state_id_array0.00230.129310.0023
state_identifier_array0.00300.169420.0015
Override
Cache load0.00150.0836100.0002
Sytem overhead
Fetch class attribute can translate value0.00090.050610.0009
Fetch class attribute name0.00090.047810.0009
XML
Image XML parsing0.00010.005610.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0411100.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs