change hasBatch function
This commit is contained in:
parent
a61fa2b049
commit
a3a8e7c4e4
@ -5460,7 +5460,7 @@ class Product extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public function hasbatch()
|
public function hasbatch()
|
||||||
{
|
{
|
||||||
return ($this->status_batch == 1 ? true : false);
|
return ($this->status_batch > 0 ? true : false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user