2
0
forked from Wavyzz/dolibarr

Fix phpcs

This commit is contained in:
Laurent Destailleur
2018-12-15 14:12:39 +01:00
parent 4ff28d4580
commit 1bce3f6c6b
7 changed files with 33 additions and 42 deletions

View File

@@ -551,7 +551,7 @@ class pdf_squille extends ModelePdfReception
}
// Affiche zone totaux
$posy=$this->_tableau_tot($pdf, $object, 0, $bottomlasttab, $outputlangs,$totalOrdered);
$posy=$this->_tableau_tot($pdf, $object, 0, $bottomlasttab, $outputlangs, $totalOrdered);
// Pied de page
$this->_pagefoot($pdf,$object,$outputlangs);
@@ -589,14 +589,15 @@ class pdf_squille extends ModelePdfReception
/**
* Show total to pay
*
* @param PDF $pdf Object PDF
* @param PDF $pdf Object PDF
* @param Facture $object Object invoice
* @param int $deja_regle Montant deja regle
* @param int $posy Position depart
* @param Translate $outputlangs Objet langs
* @param int $totalOrdered Total ordered
* @return int Position pour suite
*/
function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs,$totalOrdered)
function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs, $totalOrdered)
{
// phpcs:enable
global $conf,$mysoc;
@@ -631,8 +632,6 @@ class pdf_squille extends ModelePdfReception
$totalToShip=$tmparray['toship'];
// Set trueVolume and volume_units not currently stored into database
if ($object->trueWidth && $object->trueHeight && $object->trueDepth)
{
@@ -772,7 +771,6 @@ class pdf_squille extends ModelePdfReception
}
}
}
/**