mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
clean code
This commit is contained in:
@@ -533,7 +533,6 @@ if ($id > 0 || ! empty($ref)) {
|
||||
$nbproduct = 0; // Nb of predefined product lines to dispatch (already done or not) if SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED is off (default)
|
||||
// or nb of line that remain to dispatch if SUPPLIER_ORDER_DISABLE_STOCK_DISPATCH_WHEN_TOTAL_REACHED is on.
|
||||
|
||||
$var = false;
|
||||
while ( $i < $num ) {
|
||||
$objp = $db->fetch_object($resql);
|
||||
|
||||
@@ -794,8 +793,6 @@ if ($id > 0 || ! empty($ref)) {
|
||||
print '<td>' . $langs->trans("Date") . '</td>';
|
||||
print "</tr>\n";
|
||||
|
||||
$var = false;
|
||||
|
||||
while ( $i < $num ) {
|
||||
$objp = $db->fetch_object($resql);
|
||||
|
||||
@@ -869,7 +866,6 @@ if ($id > 0 || ! empty($ref)) {
|
||||
print "</tr>\n";
|
||||
|
||||
$i ++;
|
||||
$var = ! $var;
|
||||
}
|
||||
$db->free($resql);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user