Rely on MAIN_INVERT_SENDER_RECIPIENT
This commit is contained in:
parent
f942917f53
commit
c08b69d00b
@ -750,7 +750,7 @@ class pdf_standard extends ModeleExpenseReport
|
||||
$pdf->SetTextColor(0, 0, 60);
|
||||
|
||||
// Show sender information
|
||||
if (empty($conf->global->EXPENSEREPORT_INVERT_SENDER_RECIPIENT)) {
|
||||
if (empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) {
|
||||
$pdf->SetXY($posx+2, $posy+3);
|
||||
$pdf->SetFont('', 'B', $default_font_size);
|
||||
$pdf->MultiCell(80, 4, $outputlangs->convToOutputCharset($this->emetteur->name), 0, 'L');
|
||||
|
||||
@ -227,7 +227,6 @@ if (! defined('NOREQUIREDB') && ! defined('NOREQUIRESOC'))
|
||||
|
||||
// For some countries, we need to invert our address with customer address
|
||||
if ($mysoc->country_code == 'DE' && ! isset($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) $conf->global->MAIN_INVERT_SENDER_RECIPIENT=1;
|
||||
if ($mysoc->country_code == 'DE' && ! isset($conf->global->EXPENSEREPORT_INVERT_SENDER_RECIPIENT)) $conf->global->EXPENSEREPORT_INVERT_SENDER_RECIPIENT=1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user