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
9ec349f4
Commit
9ec349f4
authored
9 years ago
by
Marcos García de La Fuente
Browse files
Options
Downloads
Patches
Plain Diff
FIX [ bug #3432 ] Spaces should be removed from IBAN when formatting it
Close #3432
parent
edf05e8d
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
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
htdocs/core/lib/pdf.lib.php
+2
-1
2 additions, 1 deletion
htdocs/core/lib/pdf.lib.php
with
3 additions
and
1 deletion
ChangeLog
+
1
−
0
View file @
9ec349f4
...
...
@@ -21,6 +21,7 @@ FIX: Not showing task extrafields when creating from left menu
FIX [ bug #3288 ] Tasks box is not properly drawn
FIX [ bug #3211 ] Outstading bill amount of a client showed wrong amounts
FIX [ bug #3321 ] Users with certain permissions were shown a "forbidden access" page even if they had the rights
FIX [ bug #3432 ] Spaces should be removed from IBAN when formatting it
NEW: Created new ContratLigne::insert function
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/lib/pdf.lib.php
+
2
−
1
View file @
9ec349f4
...
...
@@ -631,7 +631,8 @@ function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0,$default
if
(
$account
->
getCountryCode
()
==
'IN'
)
$ibankey
=
"IFSC"
;
if
(
!
empty
(
$account
->
iban
))
{
$ibanDisplay_temp
=
$outputlangs
->
convToOutputCharset
(
$account
->
iban
);
//Remove whitespaces to ensure we are dealing with the format we expect
$ibanDisplay_temp
=
str_replace
(
' '
,
''
,
$outputlangs
->
convToOutputCharset
(
$account
->
iban
));
$ibanDisplay
=
""
;
for
(
$i
=
0
;
$i
<
dol_strlen
(
$ibanDisplay_temp
);
$i
++
)
...
...
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