FIX [ bug #3432 ] Spaces should be removed from IBAN when formatting it
Close #3432
This commit is contained in:
parent
edf05e8d94
commit
9ec349f410
@ -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 #3288 ] Tasks box is not properly drawn
|
||||||
FIX [ bug #3211 ] Outstading bill amount of a client showed wrong amounts
|
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 #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
|
NEW: Created new ContratLigne::insert function
|
||||||
|
|
||||||
|
|||||||
@ -631,7 +631,8 @@ function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0,$default
|
|||||||
if ($account->getCountryCode() == 'IN') $ibankey="IFSC";
|
if ($account->getCountryCode() == 'IN') $ibankey="IFSC";
|
||||||
if (! empty($account->iban))
|
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 = "";
|
$ibanDisplay = "";
|
||||||
|
|
||||||
for($i = 0; $i < dol_strlen($ibanDisplay_temp); $i++)
|
for($i = 0; $i < dol_strlen($ibanDisplay_temp); $i++)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user