Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-invoices
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-invoices
Commits
44f6629a
Commit
44f6629a
authored
Nov 26, 2007
by
ampersand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Ampersand Changes
parent
d7801d9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
intranet-invoices.ca_ES.ISO-8859-1.xml
catalog/intranet-invoices.ca_ES.ISO-8859-1.xml
+5
-0
view.tcl
www/view.tcl
+7
-2
No files found.
catalog/intranet-invoices.ca_ES.ISO-8859-1.xml
0 → 100644
View file @
44f6629a
<?xml version="1.0" encoding="ISO-8859-1"?>
<message_catalog
package_key=
"intranet-invoices"
package_version=
"3.1.4.0.0"
locale=
"ca_ES"
charset=
"ISO-8859-1"
>
<msg
key=
"Description"
>
Descripci
</msg>
</message_catalog>
www/view.tcl
View file @
44f6629a
...
...
@@ -664,6 +664,11 @@ db_1row calc_grand_total ""
set
subtotal_pretty
[
lc_numeric
[
im_numeric_add_trailing_zeros
[
expr
$subtotal
+0
]
$rounding
_precision
]
""
$locale
]
set
vat_amount_pretty
[
lc_numeric
[
im_numeric_add_trailing_zeros
[
expr
$vat
_amount+0
]
$rounding
_precision
]
""
$locale
]
set
tax_amount_pretty
[
lc_numeric
[
im_numeric_add_trailing_zeros
[
expr
$tax
_amount+0
]
$rounding
_precision
]
""
$locale
]
set
vat_perc_pretty
[
lc_numeric
[
im_numeric_add_trailing_zeros
[
expr
$vat
+0
]
$rounding
_precision
]
""
$locale
]
set
tax_perc_pretty
[
lc_numeric
[
im_numeric_add_trailing_zeros
[
expr
$tax
+0
]
$rounding
_precision
]
""
$locale
]
set
grand_total_pretty
[
lc_numeric
[
im_numeric_add_trailing_zeros
[
expr
$grand
_total+0
]
$rounding
_precision
]
""
$locale
]
set
total_due_pretty
[
lc_numeric
[
im_numeric_add_trailing_zeros
[
expr
$total
_due+0
]
$rounding
_precision
]
""
$locale
]
set
discount_perc_pretty
$discount
_perc
...
...
@@ -717,7 +722,7 @@ if {$discount_enabled_p || $surcharge_enabled_p} {
if
{
""
!=
$vat
&& 0 !=
$vat
}
{
append subtotal_item_html
"
<tr>
<td class=roweven colspan=
$colspan
_sub align=right>
[
lang::message::lookup
$locale
intranet-invoices.VAT
]
:
[
format
"%0.1f"
$vat
]
% </td>
<td class=roweven colspan=
$colspan
_sub align=right>
[
lang::message::lookup
$locale
intranet-invoices.VAT
]
:
$vat
_perc_pretty
% </td>
<td class=roweven align=right>
$vat
_amount_pretty
$currency
</td>
</tr>
"
...
...
@@ -733,7 +738,7 @@ if {"" != $vat && 0 != $vat} {
if
{
""
!=
$tax
&& 0 !=
$tax
}
{
append subtotal_item_html
"
<tr>
<td class=roweven colspan=
$colspan
_sub align=right>
[
lang::message::lookup
$locale
intranet-invoices.TAX
]
:
[
format
"%0.1f"
$tax
]
% </td>
<td class=roweven colspan=
$colspan
_sub align=right>
[
lang::message::lookup
$locale
intranet-invoices.TAX
]
:
$tax
_perc_pretty
% </td>
<td class=roweven align=right>
$tax
_amount_pretty
$currency
</td>
</tr>
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment