Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-helpdesk
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-helpdesk
Commits
7ab001f7
Commit
7ab001f7
authored
Jul 04, 2008
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Deploying Helpdesk to projop
parent
17b5324b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
15 deletions
+21
-15
intranet-helpdesk-create.sql
sql/postgresql/intranet-helpdesk-create.sql
+7
-3
index.tcl
www/index.tcl
+1
-0
new-postgresql.xql
www/new-postgresql.xql
+0
-11
new.tcl
www/new.tcl
+13
-1
No files found.
sql/postgresql/intranet-helpdesk-create.sql
View file @
7ab001f7
...
...
@@ -821,8 +821,12 @@ alter table im_tickets add ticket_customer_deadline timestamptz;
SELECT
im_dynfield_attribute_new
(
'im_ticket'
,
'ticket_customer_deadline'
,
'Desired Customer End Date'
,
'date'
,
'date'
,
'f'
);
-----------------------------------------------------------
--
--
Quote results
-- alter table im_tickets add
alter
table
im_tickets
add
ticket_quoted_days
numeric
(
12
,
2
);
SELECT
im_dynfield_attribute_new
(
'im_ticket'
,
'ticket_quoted_days'
,
'Quoted Days'
,
'numeric'
,
'integer'
,
'f'
);
alter
table
im_tickets
add
ticket_quote_comment
text
;
SELECT
im_dynfield_attribute_new
(
'im_ticket'
,
'ticket_quote_comment'
,
'Quote Comment'
,
'textarea_small_nospell'
,
'string'
,
'f'
);
www/index.tcl
View file @
7ab001f7
...
...
@@ -305,6 +305,7 @@ set sql "
p.company_id = c.company_id
and t.ticket_id = p.project_id
and p.project_type_id =
[
im_project_type_ticket
]
and p.project_status_id not in (
[
join
[
im_sub_categories
[
im_project_status_deleted
]]
","
]
)
$where
_clause
$extra
_where
$order
_by_clause
...
...
www/new-postgresql.xql
View file @
7ab001f7
...
...
@@ -45,15 +45,4 @@
</querytext>
</fullquery>
<fullquery
name=
"ticket_delete"
>
<querytext>
BEGIN
PERFORM im_ticket__delete (:ticket_id);
return 0;
END;
</querytext>
</fullquery>
</queryset>
www/new.tcl
View file @
7ab001f7
...
...
@@ -119,7 +119,19 @@ set button_pressed [template::form get_action ticket]
if
{
"delete"
==
$button
_pressed
}
{
db_exec_plsql ticket_delete
{}
db_dml mark_ticket_deleted
"
update im_tickets
set ticket_status_id =
[
im_ticket_status_deleted
]
where ticket_id = :ticket_id
"
# db_dml update_project "
# update im_projects
# set project_status_id = [im_project_status_deleted
]
# where project_id = :ticket_id
# "
ad_returnredirect
$return
_url
}
...
...
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