Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
75bb82b1
Commit
75bb82b1
authored
Sep 03, 2004
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed adding/deleting payments per cost_item
parent
b6cd1272
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
intranet-project-procs.tcl
tcl/intranet-project-procs.tcl
+6
-1
No files found.
tcl/intranet-project-procs.tcl
View file @
75bb82b1
...
...
@@ -378,7 +378,7 @@ ad_proc -public im_project_parent_select { select_name { default "" } {current_g
ad_proc -public im_project_select
{
select_name
{
default
""
}
{
status
""
}
{
type
""
}
{
exclude_status
""
}
{
member_user_id
""
}
}
{
ad_proc -public im_project_select
{
select_name
{
default
""
}
{
status
""
}
{
type
""
}
{
exclude_status
""
}
{
member_user_id
""
}
{
customer_id
""
}
}
{
Returns an html select box named
$select
_name and defaulted to
$default
with a list of all the projects in the system. If status is
specified, we limit the select box to projects matching that
...
...
@@ -425,6 +425,11 @@ ad_proc -public im_project_select { select_name { default "" } { status "" } {ty
}
if
{
!
[
empty_string_p
$customer
_id
]
}
{
ns_set put
$bind
_vars customer_id
$customer
_id
append sql
" and p.customer_id = :customer_id"
}
if
{
!
[
empty_string_p
$status
]
}
{
ns_set put
$bind
_vars status
$status
append sql
" and p.project_status_id = (
...
...
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