Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tax Report for VirtueMart
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VirtueMart
Tax Report for VirtueMart
Commits
e4252134
Commit
e4252134
authored
8 years ago
by
Reinhold Kainhofer
Browse files
Options
Downloads
Patches
Plain Diff
V0.3: Prevent division by 0 in the summary line
parent
6445c2a4
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
releases/plg_vmextended_taxreport_v0.3.zip
+0
-0
0 additions, 0 deletions
releases/plg_vmextended_taxreport_v0.3.zip
taxreport.xml
+1
-1
1 addition, 1 deletion
taxreport.xml
views/taxreport/tmpl/default.php
+1
-1
1 addition, 1 deletion
views/taxreport/tmpl/default.php
with
3 additions
and
3 deletions
Makefile
+
1
−
1
View file @
e4252134
BASE
=
taxreport
PLUGINTYPE
=
vmextended
VERSION
=
0.
2
VERSION
=
0.
3
PLUGINFILES
=
$(
BASE
)
.php
$(
BASE
)
.script.php
$(
BASE
)
.xml index.html
# $(BASE)/
...
...
This diff is collapsed.
Click to expand it.
releases/plg_vmextended_taxreport_v0.3.zip
0 → 100644
+
0
−
0
View file @
e4252134
File added
This diff is collapsed.
Click to expand it.
taxreport.xml
+
1
−
1
View file @
e4252134
...
...
@@ -7,7 +7,7 @@
<authorUrl>
http://www.open-tools.net/
</authorUrl>
<copyright>
Copyright (C) 2015 Reinhold Kainhofer. All rights reserved.
</copyright>
<license>
http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3
</license>
<version>
0.
2
</version>
<version>
0.
3
</version>
<releaseDate>
2015-04-01
</releaseDate>
<releaseType>
Initial Release
</releaseType>
<downloadUrl>
http://www.open-tools.net
</downloadUrl>
...
...
This diff is collapsed.
Click to expand it.
views/taxreport/tmpl/default.php
+
1
−
1
View file @
e4252134
...
...
@@ -74,7 +74,7 @@ $myCurrencyDisplay = CurrencyDisplay::getInstance();
<tr>
<th
align=
"center"
></th>
<th
align=
"left"
>
<?php
echo
vmText
::
_
(
'VMEXT_TAXREPORT_SUMMARY'
);
?>
</th>
<th
align=
"center"
>
<?php
echo
round
(
$sum_tax
/
$sum_revenue
*
100
,
4
)
.
" %"
;
?>
</th>
<th
align=
"center"
>
<?php
if
(
$sum_revenue
>
0
)
echo
round
(
$sum_tax
/
$sum_revenue
*
100
,
4
)
.
" %"
;
?>
</th>
<th
align=
"center"
>
<?php
echo
$nr_orders
;
?>
</th>
<th
align=
"right"
>
<?php
echo
$myCurrencyDisplay
->
priceDisplay
(
$sum_revenue
);
?>
</th>
<th
align=
"right"
>
<?php
echo
$myCurrencyDisplay
->
priceDisplay
(
$sum_tax
);
?>
</th>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment