Skip to content

Commit

Permalink
Rely on MAIN_INVERT_SENDER_RECIPIENT
Browse files Browse the repository at this point in the history
  • Loading branch information
mwelters committed Apr 1, 2019
1 parent f942917 commit c08b69d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -750,7 +750,7 @@ private function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
$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');
Expand Down
1 change: 0 additions & 1 deletion htdocs/master.inc.php
Expand Up @@ -227,7 +227,6 @@

// 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;
}


Expand Down

0 comments on commit c08b69d

Please sign in to comment.