mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-03 06:43:23 +01:00
change hasBatch function
This commit is contained in:
@@ -5460,7 +5460,7 @@ class Product extends CommonObject
|
||||
*/
|
||||
public function hasbatch()
|
||||
{
|
||||
return ($this->status_batch == 1 ? true : false);
|
||||
return ($this->status_batch > 0 ? true : false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user