Debug v22
This commit is contained in:
parent
6bef6254f8
commit
6ffc217f49
1 changed files with 2 additions and 2 deletions
|
|
@ -2344,7 +2344,7 @@ class BonPrelevement extends CommonObject
|
|||
$XML_DEBITOR .= ' <PstlAdr>' . $CrLf;
|
||||
$XML_DEBITOR .= ' <Ctry>' . $row_country_code . '</Ctry>' . $CrLf;
|
||||
$addressline1 = strtr($row_address, array(chr(13) => ", ", chr(10) => ""));
|
||||
$addressline2 = strtr($row_zip . (($row_zip && $row_town) ? ' ' : '') . (string) $row_town), array(chr(13) => ", ", chr(10) => ""));
|
||||
$addressline2 = strtr($row_zip . (($row_zip && $row_town) ? ' ' : '') . (string) $row_town, array(chr(13) => ", ", chr(10) => ""));
|
||||
if (trim($addressline1)) {
|
||||
$XML_DEBITOR .= ' <AdrLine>' . dolEscapeXML(dol_trunc(dol_string_nospecial(dol_string_unaccent($addressline1), ' '), 70, 'right', 'UTF-8', 1)) . '</AdrLine>' . $CrLf;
|
||||
}
|
||||
|
|
@ -2429,7 +2429,7 @@ class BonPrelevement extends CommonObject
|
|||
$XML_CREDITOR .= ' <PstlAdr>' . $CrLf;
|
||||
$XML_CREDITOR .= ' <Ctry>' . $row_country_code . '</Ctry>' . $CrLf;
|
||||
$addressline1 = strtr($row_address, array(chr(13) => ", ", chr(10) => ""));
|
||||
$addressline2 = strtr($row_zip . (($row_zip && $row_town) ? ' ' : '') . (string) $row_town), array(chr(13) => ", ", chr(10) => ""));
|
||||
$addressline2 = strtr($row_zip . (($row_zip && $row_town) ? ' ' : '') . (string) $row_town, array(chr(13) => ", ", chr(10) => ""));
|
||||
if (trim($addressline1)) {
|
||||
$XML_CREDITOR .= ' <AdrLine>' . dolEscapeXML(dol_trunc(dol_string_nospecial(dol_string_unaccent($addressline1), ' '), 70, 'right', 'UTF-8', 1)) . '</AdrLine>' . $CrLf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue