Fix pdf of expense report
This commit is contained in:
parent
72025f6d5d
commit
742de5c777
@ -326,7 +326,7 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
complete_substitutions_array($substitutionarray, $outputlangs, $object);
|
complete_substitutions_array($substitutionarray, $outputlangs, $object);
|
||||||
$notetoshow = make_substitutions($notetoshow, $substitutionarray, $outputlangs);
|
$notetoshow = make_substitutions($notetoshow, $substitutionarray, $outputlangs);
|
||||||
$notetoshow = convertBackOfficeMediasLinksToPublicLinks($notetoshow);
|
$notetoshow = convertBackOfficeMediasLinksToPublicLinks($notetoshow);
|
||||||
|
|
||||||
$tab_top = 95;
|
$tab_top = 95;
|
||||||
|
|
||||||
$pdf->SetFont('', '', $default_font_size - 1);
|
$pdf->SetFont('', '', $default_font_size - 1);
|
||||||
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user