remove unused code fix phpstan

This commit is contained in:
Frédéric FRANCE 2023-12-02 08:03:18 +01:00 committed by GitHub
parent 5329fae6d5
commit bd8233d4e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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, ...)
*