var $memo_;
var $person_id;
var $branch_id;
-
+ var $reference;
+
function items_cart($type)
{
$this->trans_type = $type;
function check_qoh($location, $date_, $reverse)
{
- if (!sys_prefs::allow_negative_stock())
+ global $SysPrefs;
+
+ if (!$SysPrefs->allow_negative_stock())
{
if (has_stock_holding($this->mb_flag))
{