}
function reset_password($company, $email) {
- global $path_to_root, $app_title;
+ global $app_title;
$this->set_company($company);
$this->logged = false;
return true;
}
- return false;
+ return false;
}
function check_user_access()
}
}
- if ($check_qty_charged_vs_del_qty == True)
+ if ($check_qty_charged_vs_del_qty == true && ($_POST['qty_recd'.$n] != $_POST['prev_quantity_inv'.$n]))
{
if (input_num('this_quantity_inv'.$n) / ($_POST['qty_recd'.$n] - $_POST['prev_quantity_inv'.$n]) >
(1+ ($margin / 100)))