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
c7f48eb5
Commit
c7f48eb5
authored
Aug 04, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- using company_type_id_org instead of company_type_id
parent
57310bfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
upload-companies-2.tcl
www/companies/upload-companies-2.tcl
+3
-1
No files found.
www/companies/upload-companies-2.tcl
View file @
c7f48eb5
...
...
@@ -31,6 +31,8 @@ set page_title "Upload Companies CSV"
set
page_body
"<ul>"
set
context_bar
[
im_context_bar
[
list
"/intranet/cusomers/"
"Companies"
]
$page
_title
]
# gets destroyed when selecting all information from a company
set
company_type_id_org
$company
_type_id
# Get the file from the user.
# number_of_bytes is the upper-limit
...
...
@@ -247,7 +249,7 @@ foreach csv_line_fields $values_list_of_lists {
-company_name
$company
_name
\
-company_path
$company
_path
\
-main_office_id
$main
_office_id
\
-company_type_id
$company
_type_id
\
-company_type_id
$company
_type_id
_org
\
-company_status_id
[
im_company_status_active
]]
}
else
{
...
...
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