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
96f9a004
Commit
96f9a004
authored
Aug 01, 2004
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- changed customer to company
parent
0bda7404
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
index.tcl
www/customers/index.tcl
+12
-12
No files found.
www/customers/index.tcl
View file @
96f9a004
...
@@ -31,7 +31,7 @@ ad_page_contract {
...
@@ -31,7 +31,7 @@ ad_page_contract {
{
status_id:integer
""
}
{
status_id:integer
""
}
{
type_id:integer
"0"
}
{
type_id:integer
"0"
}
{
start_idx:integer
"1"
}
{
start_idx:integer
"1"
}
{
order_by
"C
lient
"
}
{
order_by
"C
ompany
"
}
{
how_many
""
}
{
how_many
""
}
{
view_type
"all"
}
{
view_type
"all"
}
{
letter:trim
"all"
}
{
letter:trim
"all"
}
...
@@ -39,7 +39,7 @@ ad_page_contract {
...
@@ -39,7 +39,7 @@ ad_page_contract {
}
}
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# C
ustomer
List Page
# C
ompany
List Page
#
#
# This is a "classical" List-Page. It consists of the sections:
# This is a "classical" List-Page. It consists of the sections:
# 1. Page Contract:
# 1. Page Contract:
...
@@ -74,7 +74,7 @@ ad_page_contract {
...
@@ -74,7 +74,7 @@ ad_page_contract {
set
user_id
[
ad_maybe_redirect_for_registration
]
set
user_id
[
ad_maybe_redirect_for_registration
]
set
subsite_id
[
ad_conn subsite_id
]
set
subsite_id
[
ad_conn subsite_id
]
set
current_user_id
$user
_id
set
current_user_id
$user
_id
set
page_title
"C
lient
s"
set
page_title
"C
ompanie
s"
set
context_bar
[
ad_context_bar
$page
_title
]
set
context_bar
[
ad_context_bar
$page
_title
]
set
page_focus
"im_header_form.keywords"
set
page_focus
"im_header_form.keywords"
set
return_url
"/intranet/customers/index"
set
return_url
"/intranet/customers/index"
...
@@ -187,7 +187,7 @@ switch $order_by {
...
@@ -187,7 +187,7 @@ switch $order_by {
"Type"
{
set order_by_clause
"order by upper(customer_type), upper(customer_name)"
}
"Type"
{
set order_by_clause
"order by upper(customer_type), upper(customer_name)"
}
"Status"
{
set order_by_clause
"order by upper(customer_status), upper(customer_name)"
}
"Status"
{
set order_by_clause
"order by upper(customer_status), upper(customer_name)"
}
"Contact Person"
{
set order_by_clause
"order by upper(last_name), upper(first_names), upper(customer_name)"
}
"Contact Person"
{
set order_by_clause
"order by upper(last_name), upper(first_names), upper(customer_name)"
}
"C
lient
"
{
set order_by_clause
"order by upper(customer_name)"
}
"C
ompany
"
{
set order_by_clause
"order by upper(customer_name)"
}
}
}
set
extra_table
""
set
extra_table
""
...
@@ -315,7 +315,7 @@ set filter_html "
...
@@ -315,7 +315,7 @@ set filter_html "
<table border=0 cellpadding=0 cellspacing=0>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<tr>
<td colspan='2' class=rowtitle align=center>
<td colspan='2' class=rowtitle align=center>
Filter C
lient
s
Filter C
ompanie
s
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -323,11 +323,11 @@ set filter_html "
...
@@ -323,11 +323,11 @@ set filter_html "
<td valign=top>
[
im_select view_type
$view
_types
""
]
</td>
<td valign=top>
[
im_select view_type
$view
_types
""
]
</td>
</tr>
</tr>
<tr>
<tr>
<td valign=top>C
lient
Status: </td>
<td valign=top>C
ompany
Status: </td>
<td valign=top>
[
im_select status_id
$status
_types
""
]
</td>
<td valign=top>
[
im_select status_id
$status
_types
""
]
</td>
</tr>
</tr>
<tr>
<tr>
<td valign=top>C
lient
Type: </td>
<td valign=top>C
ompany
Type: </td>
<td valign=top>
<td valign=top>
[
im_select type_id
$customer
_types
""
]
[
im_select type_id
$customer
_types
""
]
<input type=submit value=Go name=submit>
<input type=submit value=Go name=submit>
...
@@ -343,15 +343,15 @@ set filter_html "
...
@@ -343,15 +343,15 @@ set filter_html "
set
admin_html
""
set
admin_html
""
if
{[
im_permission
$current
_user_id
"add_customers"
]}
{
if
{[
im_permission
$current
_user_id
"add_customers"
]}
{
append admin_html
"
append admin_html
"
<li><a href=/intranet/customers/new>Add a new C
ustomer
</a>
<li><a href=/intranet/customers/new>Add a new C
ompany
</a>
<li><a href=/intranet/customers/upload-customers?
[
export_url_vars return_url
]
>Import C
ustomer
CVS</a>
<li><a href=/intranet/customers/upload-customers?
[
export_url_vars return_url
]
>Import C
ompany
CVS</a>
<li><a href=/intranet/customers/upload-contacts?
[
export_url_vars return_url
]
>Import C
ustomer
Contact CVS</a>
<li><a href=/intranet/customers/upload-contacts?
[
export_url_vars return_url
]
>Import C
ompany
Contact CVS</a>
"
"
}
}
if
{[
im_permission
$user
_id admin_customers
]}
{
if
{[
im_permission
$user
_id admin_customers
]}
{
append admin_html
"
append admin_html
"
<li><a href=upload-customers?
[
export_url_vars return_url
]
>Upload C
lients
CSV</a>
<li><a href=upload-customers?
[
export_url_vars return_url
]
>Upload C
ompany
CSV</a>
<li><a href=upload-contacts?
[
export_url_vars return_url
]
>Upload Contact CSV</a>
<li><a href=upload-contacts?
[
export_url_vars return_url
]
>Upload Contact CSV</a>
"
"
}
}
...
@@ -372,7 +372,7 @@ if {"" != $admin_html} {
...
@@ -372,7 +372,7 @@ if {"" != $admin_html} {
<table border=0 cellpadding=0 cellspacing=0>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<tr>
<td class=rowtitle align=center>
<td class=rowtitle align=center>
Admin C
lient
s
Admin C
ompanie
s
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
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