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
4b39cc4c
Commit
4b39cc4c
authored
May 31, 2023
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosine #5630: Added number locale to InvoiceListPage
parent
e45a84af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
list.tcl
www/list.tcl
+10
-0
No files found.
www/list.tcl
View file @
4b39cc4c
...
...
@@ -30,6 +30,7 @@ ad_page_contract {
{
view_name
"invoice_list"
}
{
letter:trim
""
}
{
format
"html"
}
{
number_locale
""
}
}
...
...
@@ -85,6 +86,8 @@ set local_url "/intranet-invoices/list"
set
cost_status_created
[
im_cost_status_created
]
set
cost_type
[
db_string get_cost_type
"select category from im_categories where category_id = :cost_type_id"
-default
[
_ intranet-invoices.Costs
]]
set
letter
[
string
toupper
$letter
]
set
locale
[
lang::user::locale
]
if
{
""
==
$number
_locale
}
{
set number_locale
$locale
}
if
{
!
[
im_permission
$user
_id view_invoices
]}
{
ad_return_complaint 1
"<li>You have insufficiente privileges to view this page"
...
...
@@ -489,6 +492,13 @@ set filter_html "
<td class=form-widget>
[
im_report_output_format_select format
""
$format
]
</td>
</tr>
<tr>
<td class=form-label>
[
lang::message::lookup
""
intranet-reporting.NumberFormat
"Number Format"
]
</td>
<td class=form-widget>
[
im_report_number_locale_select number_locale
$number
_locale
]
</td>
</tr>
<tr>
<td></td>
<td><input type=submit value='
[
_ intranet-invoices.Go
]
' name=submit></td>
...
...
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