Update pdf_crabe.modules.php
This commit is contained in:
parent
6ffbab0a63
commit
bd00803090
@ -1646,6 +1646,18 @@ class pdf_crabe extends ModelePDFFactures
|
||||
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("Project")." : " . (empty($object->project->title)?'':$object->projet->title), '', 'R');
|
||||
}
|
||||
}
|
||||
|
||||
if (! empty($conf->global->PDF_SHOW_PROJECT))
|
||||
{
|
||||
$object->fetch_projet();
|
||||
if (! empty($object->project->ref))
|
||||
{
|
||||
$posy+=3;
|
||||
$pdf->SetXY($posx,$posy);
|
||||
$pdf->SetTextColor(0, 0, 60);
|
||||
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("ProjectRef")." : " . (empty($object->project->ref)?'':$object->projet->title), '', 'R');
|
||||
}
|
||||
}
|
||||
|
||||
$objectidnext=$object->getIdReplacingInvoice('validated');
|
||||
if ($object->type == 0 && $objectidnext)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user