Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
19e194dd
Commit
19e194dd
authored
10 years ago
by
Philippe Grand
Browse files
Options
Downloads
Patches
Plain Diff
encrease name length for societe
parent
639d4f03
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/install/mysql/tables/llx_adherent.sql
+1
-1
1 addition, 1 deletion
htdocs/install/mysql/tables/llx_adherent.sql
htdocs/install/mysql/tables/llx_societe.sql
+1
-1
1 addition, 1 deletion
htdocs/install/mysql/tables/llx_societe.sql
htdocs/societe/soc.php
+3
-3
3 additions, 3 deletions
htdocs/societe/soc.php
with
5 additions
and
5 deletions
htdocs/install/mysql/tables/llx_adherent.sql
+
1
−
1
View file @
19e194dd
...
...
@@ -37,7 +37,7 @@ create table llx_adherent
pass
varchar
(
50
),
-- password
fk_adherent_type
integer
NOT
NULL
,
morphy
varchar
(
3
)
NOT
NULL
,
-- personne morale / personne physique
societe
varchar
(
60
),
-- company name (should be same lenght than societe.name)
societe
varchar
(
128
),
-- company name (should be same lenght than societe.name)
fk_soc
integer
NULL
,
-- Link to third party linked to member
address
text
,
zip
varchar
(
30
),
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/tables/llx_societe.sql
+
1
−
1
View file @
19e194dd
...
...
@@ -22,7 +22,7 @@
create
table
llx_societe
(
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
nom
varchar
(
60
),
-- company reference name (should be s
m
ae length than adherent.societe)
nom
varchar
(
128
),
-- company reference name (should be sa
m
e length than adherent.societe)
entity
integer
DEFAULT
1
NOT
NULL
,
-- multi company id
ref_ext
varchar
(
128
),
-- reference into an external system (not used by dolibarr)
...
...
This diff is collapsed.
Click to expand it.
htdocs/societe/soc.php
+
3
−
3
View file @
19e194dd
...
...
@@ -805,7 +805,7 @@ else
print
'<span span id="TypeName" class="fieldrequired"><label for="name">'
.
$langs
->
trans
(
'ThirdPartyName'
)
.
'</label></span>'
;
}
print
'</td><td'
.
(
empty
(
$conf
->
global
->
SOCIETE_USEPREFIX
)
?
' colspan="3"'
:
''
)
.
'>'
;
print
'<input type="text" size="
3
0" maxlength="
60
" name="nom" id="name" value="'
.
$object
->
name
.
'" autofocus="autofocus"></td>'
;
print
'<input type="text" size="
6
0" maxlength="
128
" name="nom" id="name" value="'
.
$object
->
name
.
'" autofocus="autofocus"></td>'
;
if
(
!
empty
(
$conf
->
global
->
SOCIETE_USEPREFIX
))
// Old not used prefix field
{
print
'<td>'
.
$langs
->
trans
(
'Prefix'
)
.
'</td><td><input type="text" size="5" maxlength="5" name="prefix_comm" value="'
.
$object
->
prefix_comm
.
'"></td>'
;
...
...
@@ -816,7 +816,7 @@ else
if
(
$conf
->
use_javascript_ajax
)
{
print
'<tr class="individualline"><td><label for="firstname">'
.
$langs
->
trans
(
'FirstName'
)
.
'</label></td>'
;
print
'<td><input type="text" size="
3
0" name="firstname" id="firstname" value="'
.
$object
->
firstname
.
'"></td>'
;
print
'<td><input type="text" size="
6
0" name="firstname" id="firstname" value="'
.
$object
->
firstname
.
'"></td>'
;
print
'<td colspan=2> </td></tr>'
;
print
'<tr class="individualline"><td><label for="civility_id">'
.
$langs
->
trans
(
"UserTitle"
)
.
'</label></td><td>'
;
print
$formcompany
->
select_civility
(
$object
->
civility_id
)
.
'</td>'
;
...
...
@@ -1266,7 +1266,7 @@ else
// Name
print
'<tr><td><label for="name"><span class="fieldrequired">'
.
$langs
->
trans
(
'ThirdPartyName'
)
.
'</span></label></td>'
;
print
'<td colspan="3"><input type="text" size="
4
0" maxlength="
60
" name="nom" id="name" value="'
.
dol_escape_htmltag
(
$object
->
name
)
.
'" autofocus="autofocus"></td></tr>'
;
print
'<td colspan="3"><input type="text" size="
6
0" maxlength="
128
" name="nom" id="name" value="'
.
dol_escape_htmltag
(
$object
->
name
)
.
'" autofocus="autofocus"></td></tr>'
;
// Prefix
if
(
!
empty
(
$conf
->
global
->
SOCIETE_USEPREFIX
))
// Old not used prefix field
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment