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
ceb6199e
Commit
ceb6199e
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix default numbering module of customer code was not enabled.
parent
b3dab8a6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/core/modules/modSociete.class.php
+1
-1
1 addition, 1 deletion
htdocs/core/modules/modSociete.class.php
htdocs/societe/rib.php
+16
-16
16 additions, 16 deletions
htdocs/societe/rib.php
with
17 additions
and
17 deletions
htdocs/core/modules/modSociete.class.php
+
1
−
1
View file @
ceb6199e
...
...
@@ -77,7 +77,7 @@ class modSociete extends DolibarrModules
$this
->
const
[
$r
][
0
]
=
"SOCIETE_CODECLIENT_ADDON"
;
$this
->
const
[
$r
][
1
]
=
"chaine"
;
$this
->
const
[
$r
][
2
]
=
"mod_codeclient_
leopard
"
;
$this
->
const
[
$r
][
2
]
=
"mod_codeclient_
monkey
"
;
$this
->
const
[
$r
][
3
]
=
'Module to control third parties codes'
;
$this
->
const
[
$r
][
4
]
=
0
;
$r
++
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/societe/rib.php
+
16
−
16
View file @
ceb6199e
...
...
@@ -424,7 +424,7 @@ if ($socid && $action == 'edit' && $user->rights->societe->creer)
print
'<div class="underbanner clearboth"></div>'
;
print
'<table class="border centpercent">'
;
print
'<tr><td
valign="top" width="25%" class="
fieldrequired">'
.
$langs
->
trans
(
"LabelRIB"
)
.
'</td>'
;
print
'<tr><td
class="titlefield
fieldrequired">'
.
$langs
->
trans
(
"LabelRIB"
)
.
'</td>'
;
print
'<td colspan="4"><input size="30" type="text" name="label" value="'
.
$account
->
label
.
'"></td></tr>'
;
print
'<tr><td class="fieldrequired">'
.
$langs
->
trans
(
"BankName"
)
.
'</td>'
;
...
...
@@ -456,22 +456,22 @@ if ($socid && $action == 'edit' && $user->rights->societe->creer)
}
// IBAN
print
'<tr><td
valign="top" class="
fieldrequired">'
.
$langs
->
trans
(
"IBAN"
)
.
'</td>'
;
print
'<tr><td
class="titlefield
fieldrequired">'
.
$langs
->
trans
(
"IBAN"
)
.
'</td>'
;
print
'<td colspan="4"><input size="30" type="text" name="iban" value="'
.
$account
->
iban
.
'"></td></tr>'
;
print
'<tr><td
valign="top"
class="fieldrequired">'
.
$langs
->
trans
(
"BIC"
)
.
'</td>'
;
print
'<tr><td class="fieldrequired">'
.
$langs
->
trans
(
"BIC"
)
.
'</td>'
;
print
'<td colspan="4"><input size="12" type="text" name="bic" value="'
.
$account
->
bic
.
'"></td></tr>'
;
print
'<tr><td
valign="top"
>'
.
$langs
->
trans
(
"BankAccountDomiciliation"
)
.
'</td><td colspan="4">'
;
print
'<tr><td>'
.
$langs
->
trans
(
"BankAccountDomiciliation"
)
.
'</td><td colspan="4">'
;
print
'<textarea name="domiciliation" rows="4" cols="40">'
;
print
$account
->
domiciliation
;
print
"</textarea></td></tr>"
;
print
'<tr><td
valign="top"
>'
.
$langs
->
trans
(
"BankAccountOwner"
)
.
'</td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"BankAccountOwner"
)
.
'</td>'
;
print
'<td colspan="4"><input size="30" type="text" name="proprio" value="'
.
$account
->
proprio
.
'"></td></tr>'
;
print
"</td></tr>
\n
"
;
print
'<tr><td
valign="top"
>'
.
$langs
->
trans
(
"BankAccountOwnerAddress"
)
.
'</td><td colspan="4">'
;
print
'<tr><td>'
.
$langs
->
trans
(
"BankAccountOwnerAddress"
)
.
'</td><td colspan="4">'
;
print
"<textarea name=
\"
owner_address
\"
rows=
\"
4
\"
cols=
\"
40
\"
>"
;
print
$account
->
owner_address
;
print
"</textarea></td></tr>"
;
...
...
@@ -487,11 +487,11 @@ if ($socid && $action == 'edit' && $user->rights->societe->creer)
if
(
empty
(
$account
->
rum
))
$account
->
rum
=
$prelevement
->
buildRumNumber
(
$object
->
code_client
,
$account
->
datec
,
$account
->
id
);
// RUM
print
'<tr><td
width="35%
">'
.
$langs
->
trans
(
"RUM"
)
.
'</td>'
;
print
'<tr><td
class="titlefield
">'
.
$langs
->
trans
(
"RUM"
)
.
'</td>'
;
print
'<td colspan="4">'
.
$account
->
rum
.
'</td></tr>'
;
// FRSTRECUR
print
'<tr><td
width="35%"
>'
.
$langs
->
trans
(
"WithdrawMode"
)
.
'</td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"WithdrawMode"
)
.
'</td>'
;
print
'<td colspan="4"><input size="30" type="text" name="frstrecur" value="'
.
(
GETPOST
(
'frstrecur'
)
?
GETPOST
(
'frstrecur'
)
:
$account
->
frstrecur
)
.
'"></td></tr>'
;
print
'</table>'
;
...
...
@@ -521,7 +521,7 @@ if ($socid && $action == 'create' && $user->rights->societe->creer)
print
'<div class="underbanner clearboth"></div>'
;
print
'<table class="border centpercent">'
;
print
'<tr><td
valign="top" width="25%" class="
fieldrequired">'
.
$langs
->
trans
(
"LabelRIB"
)
.
'</td>'
;
print
'<tr><td
class="titlefieldcreate
fieldrequired">'
.
$langs
->
trans
(
"LabelRIB"
)
.
'</td>'
;
print
'<td colspan="4"><input size="30" type="text" name="label" value="'
.
GETPOST
(
'label'
)
.
'"></td></tr>'
;
print
'<tr><td class="fieldrequired">'
.
$langs
->
trans
(
"Bank"
)
.
'</td>'
;
...
...
@@ -557,22 +557,22 @@ if ($socid && $action == 'create' && $user->rights->societe->creer)
}
// IBAN
print
'<tr><td
valign="top"
>'
.
$langs
->
trans
(
"IBAN"
)
.
'</td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"IBAN"
)
.
'</td>'
;
print
'<td colspan="4"><input size="30" type="text" name="iban" value="'
.
GETPOST
(
'iban'
)
.
'"></td></tr>'
;
print
'<tr><td
valign="top"
>'
.
$langs
->
trans
(
"BIC"
)
.
'</td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"BIC"
)
.
'</td>'
;
print
'<td colspan="4"><input size="12" type="text" name="bic" value="'
.
GETPOST
(
'bic'
)
.
'"></td></tr>'
;
print
'<tr><td
valign="top"
>'
.
$langs
->
trans
(
"BankAccountDomiciliation"
)
.
'</td><td colspan="4">'
;
print
'<tr><td>'
.
$langs
->
trans
(
"BankAccountDomiciliation"
)
.
'</td><td colspan="4">'
;
print
'<textarea name="domiciliation" rows="4" cols="40">'
;
print
GETPOST
(
'domiciliation'
);
print
"</textarea></td></tr>"
;
print
'<tr><td
valign="top"
>'
.
$langs
->
trans
(
"BankAccountOwner"
)
.
'</td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"BankAccountOwner"
)
.
'</td>'
;
print
'<td colspan="4"><input size="30" type="text" name="proprio" value="'
.
GETPOST
(
'proprio'
)
.
'"></td></tr>'
;
print
"</td></tr>
\n
"
;
print
'<tr><td
valign="top"
>'
.
$langs
->
trans
(
"BankAccountOwnerAddress"
)
.
'</td><td colspan="4">'
;
print
'<tr><td>'
.
$langs
->
trans
(
"BankAccountOwnerAddress"
)
.
'</td><td colspan="4">'
;
print
'<textarea name="owner_address" rows="4" cols="40">'
;
print
GETPOST
(
'owner_address'
);
print
"</textarea></td></tr>"
;
...
...
@@ -586,11 +586,11 @@ if ($socid && $action == 'create' && $user->rights->societe->creer)
print
'<table class="border" width="100%">'
;
// RUM
print
'<tr><td
width="35%
">'
.
$langs
->
trans
(
"RUM"
)
.
'</td>'
;
print
'<tr><td
class="titlefieldcreate
">'
.
$langs
->
trans
(
"RUM"
)
.
'</td>'
;
print
'<td colspan="4">'
.
$langs
->
trans
(
"RUMWillBeGenerated"
)
.
'</td></tr>'
;
// FRSTRECUR
print
'<tr><td
width="35%"
>'
.
$langs
->
trans
(
"WithdrawMode"
)
.
'</td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"WithdrawMode"
)
.
'</td>'
;
print
'<td colspan="4"><input size="30" type="text" name="frstrecur" value="'
.
(
isset
(
$_POST
[
'frstrecur'
])
?
GETPOST
(
'frstrecur'
)
:
'FRST'
)
.
'"></td></tr>'
;
print
'</table>'
;
...
...
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