From 3de77cff3fede4b928c9048662c0ee68aafef57b Mon Sep 17 00:00:00 2001 From: Tobias Sekan Date: Wed, 6 May 2020 12:11:54 +0200 Subject: [PATCH] fix lint errors --- htdocs/compta/facture/index.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/compta/facture/index.php b/htdocs/compta/facture/index.php index af64935fc2d..5c0aacfdb35 100644 --- a/htdocs/compta/facture/index.php +++ b/htdocs/compta/facture/index.php @@ -157,12 +157,12 @@ function getPieChart($socid = 0) $vals[$row[1]] = $row[0]; $total += $row[0]; } - + $i++; } $db->free($resql); - + $result = '
'; $result .= ''; $result .= ''; @@ -215,7 +215,7 @@ function getPieChart($socid = 0) /** * Return a HTML table that contains a list with customer invoice drafts - * + * * @param int $maxCount (Optional) The maximum count of elements inside the table * @param int $socid (Optional) Show only results from the customer with this id * @return string A HTML table that contains a list with customer invoice drafts @@ -311,11 +311,11 @@ function getDraftTable($maxCount = 500, $socid = 0) } /** - * Return a HTML table that contains a list with latest edited customer invoices + * Return a HTML table that contains a list with latest edited customer invoices * * @param int $maxCount (Optional) The maximum count of elements inside the table * @param int $socid (Optional) Show only results from the customer with this id - * @return string A HTML table that contains a list with latest edited customer invoices + * @return string A HTML table that contains a list with latest edited customer invoices */ function getLatestEditTable($maxCount = 5, $socid = 0) { @@ -429,7 +429,7 @@ function getOpenTable($maxCount = 500, $socid = 0) if ($socid) $sql .= " AND s.rowid = ".$socid; $sql .= " ORDER BY f.rowid DESC"; $sql .= $db->plimit($maxCount, 0); - + $resql = $db->query($sql); if (!$resql) {