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
f652cf4e
Commit
f652cf4e
authored
10 years ago
by
Frédéric France
Browse files
Options
Downloads
Patches
Plain Diff
Add translation for IBAN Valid or not
parent
376eadd2
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/compta/bank/bankid_fr.php
+9
-1
9 additions, 1 deletion
htdocs/compta/bank/bankid_fr.php
htdocs/langs/en_US/banks.lang
+2
-0
2 additions, 0 deletions
htdocs/langs/en_US/banks.lang
htdocs/societe/rib.php
+2
-2
2 additions, 2 deletions
htdocs/societe/rib.php
with
13 additions
and
3 deletions
htdocs/compta/bank/bankid_fr.php
+
9
−
1
View file @
f652cf4e
...
...
@@ -245,7 +245,15 @@ if (($_GET["id"] || $_GET["ref"]) && $action != 'edit')
if
(
$account
->
getCountryCode
()
==
'IN'
)
$bickey
=
"SWIFT"
;
print
'<tr><td valign="top">'
.
$langs
->
trans
(
$ibankey
)
.
'</td>'
;
print
'<td colspan="3">'
.
$account
->
iban
.
'</td></tr>'
;
print
'<td colspan="3">'
.
$account
->
iban
.
' '
;
if
(
!
empty
(
$account
->
iban
))
{
if
(
!
checkIbanForAccount
(
$account
))
{
print
img_picto
(
$langs
->
trans
(
"IbanNotValid"
),
'warning'
);
}
else
{
print
img_picto
(
$langs
->
trans
(
"IbanValid"
),
'info'
);
}
}
print
'</td></tr>'
;
print
'<tr><td valign="top">'
.
$langs
->
trans
(
$bickey
)
.
'</td>'
;
print
'<td colspan="3">'
.
$account
->
bic
.
'</td></tr>'
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/banks.lang
+
2
−
0
View file @
f652cf4e
...
...
@@ -33,6 +33,8 @@ AllTime=From start
Reconciliation=Reconciliation
RIB=Bank Account Number
IBAN=IBAN number
IbanValid=Valid IBAN
IbanNotValid=Not Valid IBAN
BIC=BIC/SWIFT number
StandingOrders=Standing orders
StandingOrder=Standing order
...
...
This diff is collapsed.
Click to expand it.
htdocs/societe/rib.php
+
2
−
2
View file @
f652cf4e
...
...
@@ -296,9 +296,9 @@ if ($socid && $action != 'edit' && $action != "create")
print
'<td colspan="4">'
.
$account
->
iban
.
' '
;
if
(
!
empty
(
$account
->
iban
))
{
if
(
!
checkIbanForAccount
(
$account
))
{
print
img_picto
(
$langs
->
trans
(
"NotValid"
),
'warning'
);
print
img_picto
(
$langs
->
trans
(
"
Iban
NotValid"
),
'warning'
);
}
else
{
print
img_picto
(
$langs
->
trans
(
"I
s
Valid"
),
'info'
);
print
img_picto
(
$langs
->
trans
(
"I
ban
Valid"
),
'info'
);
}
}
print
'</td></tr>'
;
...
...
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