honor MAIN_INVERT_SENDER_RECIPIENT
This commit is contained in:
parent
6f05d6ea36
commit
6a8d76ea39
@ -737,7 +737,7 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
$posy=50;
|
$posy=50;
|
||||||
$posx=$this->marge_gauche;
|
$posx=$this->marge_gauche;
|
||||||
$hautcadre=40;
|
$hautcadre=40;
|
||||||
// if (! empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) $posx=118;
|
if (! empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) $posx=118;
|
||||||
|
|
||||||
// Show sender frame
|
// Show sender frame
|
||||||
$pdf->SetTextColor(0, 0, 0);
|
$pdf->SetTextColor(0, 0, 0);
|
||||||
@ -772,6 +772,8 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
$pdf->MultiCell(80, 4, $expense_receiver, 0, 'L');
|
$pdf->MultiCell(80, 4, $expense_receiver, 0, 'L');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) $posx=$this->marge_gauche;
|
||||||
|
|
||||||
// Show recipient
|
// Show recipient
|
||||||
$posy=50;
|
$posy=50;
|
||||||
$posx=10;
|
$posx=10;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user