Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-cost
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-cost
Commits
e9f23d78
Commit
e9f23d78
authored
Sep 01, 2004
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- debugging financial document generation
parent
5aa88166
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
list.tcl
www/list.tcl
+7
-4
No files found.
www/list.tcl
View file @
e9f23d78
...
...
@@ -18,7 +18,7 @@ ad_page_contract {
@author mbryzek@arsdigita.com
@cvs-id index.tcl,v 3.24.2.9 2000/09/22 01:38:44 kevin Exp
}
{
{
order_by
"
Dat
e"
}
{
order_by
"
Nam
e"
}
{
cost_status_id:integer 0
}
{
cost_type_id:integer 0
}
{
customer_id:integer 0
}
...
...
@@ -189,12 +189,15 @@ ns_log Notice "/intranet-cost/index: company_where=$company_where"
set
order_by_clause
""
switch
$order
_by
{
"Name"
{
set order_by_clause
"order by cost_name"
}
"Type"
{
set order_by_clause
"order by cost_type"
}
"Project"
{
set order_by_clause
"order by project_nr"
}
"Provider"
{
set order_by_clause
"order by provider_name"
}
"Client"
{
set order_by_clause
"order by customer_name"
}
"Due Date"
{
set order_by_clause
"order by (c.effective_date+c.payment_days)"
}
"Due Date"
{
set order_by_clause
"order by due_date_calculated"
}
"Amount"
{
set order_by_clause
"order by c.amount DESC"
}
"Paid"
{
set order_by_clause
"order by pa.payment_amount"
}
"Status"
{
set order_by_clause
"order by cost_status_id"
}
"Type"
{
set order_by_clause
"order by cost_type"
}
}
set
where_clause
[
join
$criteria
" and
\n
"
]
...
...
@@ -234,7 +237,7 @@ set sql "
select
c.*,
c.amount as amount_formatted,
c.effective_date + c.payment_days
as due_date_calculated,
(c.effective_date + c.payment_days)
as due_date_calculated,
o.object_type,
url.url as cost_url,
ot.pretty_name as object_type_pretty_name,
...
...
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