Fix pdf of expense report

This commit is contained in:
Laurent Destailleur 2019-04-23 16:04:53 +02:00
parent 72025f6d5d
commit 742de5c777

View File

@ -767,11 +767,10 @@ 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=100;
if (! empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) $posx=$this->marge_gauche;
// Show recipient frame // Show recipient frame
$pdf->SetTextColor(0, 0, 0); $pdf->SetTextColor(0, 0, 0);