Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Guilherme Filippo
ISPConfig 3
Commits
baec2b27
Commit
baec2b27
authored
Nov 04, 2010
by
filip
Browse files
Adding company_id attribute for client.
(It's used in several countries to identify company)
parent
911d45c6
Changes
6
Hide whitespace changes
Inline
Side-by-side
install/sql/incremental/upd_0005.sql
0 → 100644
View file @
baec2b27
ALTER
TABLE
client
ADD
COLUMN
company_id
varchar
(
30
);
install/sql/ispconfig3.sql
View file @
baec2b27
...
...
@@ -1649,6 +1649,8 @@ CREATE TABLE `help_faq` (
INSERT
INTO
`help_faq`
VALUES
(
1
,
1
,
0
,
'I
\'
d like to know ...'
,
'Yes, of course.'
,
1
,
1
,
'riud'
,
'riud'
,
'r'
);
ALTER
TABLE
client
ADD
COLUMN
company_id
varchar
(
30
);
-- --------------------------------------------------------
SET
FOREIGN_KEY_CHECKS
=
1
;
interface/web/client/form/client.tform.php
View file @
baec2b27
...
...
@@ -305,6 +305,17 @@ $form["tabs"]['address'] = array (
'rows'
=>
''
,
'cols'
=>
''
),
'company_id'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
'separator'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'20'
,
'rows'
=>
''
,
'cols'
=>
''
),
'notes'
=>
array
(
'datatype'
=>
'TEXT'
,
'formtype'
=>
'TEXTAREA'
,
...
...
interface/web/client/lib/lang/cz_client.lng
View file @
baec2b27
...
...
@@ -98,4 +98,5 @@ $wb['limit_webdav_user_error_notint'] = 'The webdav user limit must be a number.
$wb
[
'customer_no_txt'
]
=
'Customer No.'
;
$wb
[
'vat_id_txt'
]
=
'VAT ID'
;
$wb
[
'required_fields_txt'
]
=
'* Required fields'
;
$wb
[
'company_id_txt'
]
=
'IČO'
;
?>
interface/web/client/lib/lang/en_client.lng
View file @
baec2b27
...
...
@@ -101,4 +101,5 @@ $wb["limit_trafficquota_error_notint"] = 'Traffic Quota must be a number.';
$wb
[
"customer_no_txt"
]
=
'Customer No.'
;
$wb
[
"vat_id_txt"
]
=
'VAT ID'
;
$wb
[
"required_fields_txt"
]
=
'* Required fields'
;
$wb
[
'company_id_txt'
]
=
'Company/Entrepreneur ID'
;
?>
interface/web/client/templates/client_edit_address.htm
View file @
baec2b27
...
...
@@ -92,6 +92,10 @@
<label
for=
"vat_id"
>
{tmpl_var name='vat_id_txt'}
</label>
<input
name=
"vat_id"
id=
"vat_id"
value=
"{tmpl_var name='vat_id'}"
size=
"30"
maxlength=
"255"
type=
"text"
class=
"textInput"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"company_id"
>
{tmpl_var name='company_id_txt'}
</label>
<input
name=
"company_id"
id=
"company_id"
value=
"{tmpl_var name='company_id'}"
size=
"30"
maxlength=
"255"
type=
"text"
class=
"textInput"
/>
</div>
<div
class=
"ctrlHolder"
>
<label
for=
"notes"
>
{tmpl_var name='notes_txt'}
</label>
<textarea
name=
"notes"
id=
"notes"
rows=
'10'
cols=
'30'
>
{tmpl_var name='notes'}
</textarea>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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