Fix some warnings -technical debt- (#26466)

* fix warnings 1

* fix previous commit 1

* Update facture-rec.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Mohamed DAOUD
2023-11-06 16:00:24 +01:00
committed by GitHub
parent b962cce609
commit a1597e6eb1
9 changed files with 65 additions and 12 deletions

View File

@@ -286,6 +286,7 @@ class Commande extends CommonOrder
public $online_payment_url;
/**
* 'type' if the field format ('integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter]]', 'varchar(x)', 'double(24,8)', 'real', 'price', 'text', 'html', 'date', 'datetime', 'timestamp', 'duration', 'mail', 'phone', 'url', 'password')
* Note: Filter can be a string like "(t.ref:like:'SO-%') or (t.date_creation:<:'20160101') or (t.nature:is:NULL)"
@@ -2350,7 +2351,7 @@ class Commande extends CommonOrder
*
* TODO FONCTION NON FINIE A FINIR
*/
public function stock_array($filtre_statut = self::STATUS_CANCELED)
/*public function stock_array($filtre_statut = self::STATUS_CANCELED)
{
// phpcs:enable
$this->stocks = array();
@@ -2378,7 +2379,7 @@ class Commande extends CommonOrder
}
}
return 0;
}
}*/
/**
* Delete an order line