var $order_id;
- var $editing_item, $deleting_item;
-
var $from_loc;
var $to_loc;
var $tran_date;
var $person_id;
var $branch_id;
var $reference;
+ var $original_amount;
function items_cart($type)
{
else
{
// shouldn't come here under normal circumstances
- display_db_error("unexpected - adding an invalid item or null quantity", "", true);
+ display_error("unexpected - adding an invalid item or null quantity", "", true);
}
return false;
else
{
// shouldn't come here under normal circumstances
- display_db_error("unexpected - invalid parameters in add_gl_item($code_id, $dimension_id, $dimension2_id, $amount,...)", "", true);
+ display_error("unexpected - invalid parameters in add_gl_item($code_id, $dimension_id, $dimension2_id, $amount,...)", "", true);
}
return false;
$item_row = get_item($stock_id);
if ($item_row == null)
- display_db_error("invalid item added to order : $stock_id", "");
+ display_error("invalid item added to order : $stock_id", "");
$this->mb_flag = $item_row["mb_flag"];
$this->units = $item_row["units"];