projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restore of the 4 include files in types.inc
[fa-stable.git]
/
includes
/
ui
/
items_cart.inc
diff --git
a/includes/ui/items_cart.inc
b/includes/ui/items_cart.inc
index a984c5c558ac14caceca260d197f9433ebf96807..0f8b3c35462aefee00d8531d97dee54834742958 100644
(file)
--- a/
includes/ui/items_cart.inc
+++ b/
includes/ui/items_cart.inc
@@
-30,7
+30,8
@@
class items_cart
var $memo_;
var $person_id;
var $branch_id;
var $memo_;
var $person_id;
var $branch_id;
-
+ var $reference;
+
function items_cart($type)
{
$this->trans_type = $type;
function items_cart($type)
{
$this->trans_type = $type;
@@
-217,7
+218,9
@@
class line_item
function check_qoh($location, $date_, $reverse)
{
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))
{
{
if (has_stock_holding($this->mb_flag))
{