Fixing style errors.

This commit is contained in:
stickler-ci 2020-02-12 20:54:56 +00:00
parent c31fcb3981
commit f8eaca24af
6 changed files with 13 additions and 13 deletions

View File

@ -1314,7 +1314,7 @@ class pdf_einstein extends ModelePDFCommandes
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("RefCustomer")." : ".$outputlangs->convToOutputCharset($object->ref_client), '', 'R');
}
if (! empty($conf->global->PDF_SHOW_PROJECT_TITLE))
{
$object->fetch_projet();
@ -1326,7 +1326,7 @@ class pdf_einstein extends ModelePDFCommandes
$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();

View File

@ -1486,7 +1486,7 @@ class pdf_eratosthene extends ModelePDFCommandes
$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();
@ -1498,10 +1498,10 @@ class pdf_eratosthene extends ModelePDFCommandes
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("RefProject")." : " . (empty($object->project->ref)?'':$object->projet->ref), '', 'R');
}
}
$posy += 4;
$pdf->SetXY($posx, $posy);
$pdf->SetXY($posx, $posy);
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("OrderDate")." : ".dol_print_date($object->date, "day", false, $outputlangs, true), '', 'R');

View File

@ -1706,7 +1706,7 @@ class pdf_crabe extends ModelePDFFactures
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("RefCustomer")." : ".$outputlangs->convToOutputCharset($object->ref_client), '', 'R');
}
if (! empty($conf->global->PDF_SHOW_PROJECT_TITLE))
{
$object->fetch_projet();
@ -1718,7 +1718,7 @@ 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();

View File

@ -1962,7 +1962,7 @@ class pdf_sponge extends ModelePDFFactures
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("RefCustomer")." : ".$outputlangs->convToOutputCharset($object->ref_client), '', 'R');
}
if (! empty($conf->global->PDF_SHOW_PROJECT_TITLE))
{
$object->fetch_projet();
@ -1974,7 +1974,7 @@ class pdf_sponge 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();

View File

@ -1527,7 +1527,7 @@ class pdf_azur extends ModelePDFPropales
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("RefCustomer")." : ".$outputlangs->convToOutputCharset($object->ref_client), '', 'R');
}
if (! empty($conf->global->PDF_SHOW_PROJECT_TITLE))
{
$object->fetch_projet();
@ -1539,7 +1539,7 @@ class pdf_azur extends ModelePDFPropales
$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();

View File

@ -1587,7 +1587,7 @@ class pdf_cyan extends ModelePDFPropales
$pdf->SetTextColor(0, 0, 60);
$pdf->MultiCell(100, 3, $outputlangs->transnoentities("RefCustomer")." : ".$outputlangs->convToOutputCharset($object->ref_client), '', 'R');
}
if (! empty($conf->global->PDF_SHOW_PROJECT_TITLE))
{
$object->fetch_projet();
@ -1599,7 +1599,7 @@ class pdf_cyan extends ModelePDFPropales
$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();