Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-csv-import
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-csv-import
Commits
0beaf36e
Commit
0beaf36e
authored
Nov 02, 2011
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Project import:
Fixed issue with customer_project_nr
parent
5042777f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
import-im_project.tcl
www/import-im_project.tcl
+6
-5
No files found.
www/import-im_project.tcl
View file @
0beaf36e
...
...
@@ -136,8 +136,9 @@ foreach csv_line_fields $values_list_of_lists {
set description
""
set note
""
set company_contact_id
""
set company_project_nr
""
set customer_contact
""
set customer_contact_id
""
set customer_project_nr
""
set confirm_date
""
set expected_quality_id
""
set final_company
""
...
...
@@ -299,8 +300,8 @@ foreach csv_line_fields $values_list_of_lists {
if
{
$ns
_write_p
}
{
ns_write
"<li><font color=brown>Warning: Didn't find project manager '
$project
_manager'.</font>
\n
"
}
}
set c
ompany
_contact_id
[
im_id_from_user_name
$customer
_contact
]
if
{
""
==
$c
ompany
_contact_id &&
""
!=
$customer
_contact
}
{
set c
ustomer
_contact_id
[
im_id_from_user_name
$customer
_contact
]
if
{
""
==
$c
ustomer
_contact_id &&
""
!=
$customer
_contact
}
{
if
{
$ns
_write_p
}
{
ns_write
"<li><font color=brown>Warning: Didn't find customer contact '
$customer
_contact'.</font>
\n
"
}
}
...
...
@@ -381,7 +382,7 @@ foreach csv_line_fields $values_list_of_lists {
project_budget_currency = :project_budget_currency,
project_budget_hours = :project_budget_hours,
project_priority_id = :project_priority_id,
company_contact_id = :c
ompany
_contact_id,
company_contact_id = :c
ustomer
_contact_id,
company_project_nr = :customer_project_nr,
note = :note,
description = :description
...
...
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