Merge pull request #26930 from frederic34/patch-8

remove unused code fix phpstan
This commit is contained in:
Laurent Destailleur
2023-12-02 12:27:07 +01:00
committed by GitHub

View File

@@ -733,14 +733,6 @@ class pdf_eagle_proforma extends ModelePDFCommandes
// Affiche zone totaux
$posy = $this->drawTotalTable($pdf, $object, $deja_regle, $bottomlasttab, $outputlangs);
// Affiche zone versements
/*
if ($deja_regle)
{
$posy=$this->drawPaymentsTable($pdf, $object, $posy, $outputlangs);
}
*/
// Pied de page
$this->_pagefoot($pdf, $object, $outputlangs);
if (method_exists($pdf, 'AliasNbPages')) $pdf->AliasNbPages();
@@ -774,19 +766,6 @@ class pdf_eagle_proforma extends ModelePDFCommandes
}
}
/**
* Show payments table
*
* @param TCPDF $pdf Object PDF
* @param Object $object Object order
* @param int $posy Position y in PDF
* @param Translate $outputlangs Object langs for output
* @return int Return integer <0 if KO, >0 if OK
*/
protected function drawPaymentsTable(&$pdf, $object, $posy, $outputlangs)
{
}
/**
* Show miscellaneous information (payment mode, payment term, ...)
*