change hasBatch function
This commit is contained in:
parent
a61fa2b049
commit
a3a8e7c4e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue