CMXX - Change history table to equipment_history
This commit is contained in:
@@ -108,7 +108,7 @@ switch ($action) {
|
|||||||
|
|
||||||
if ($rowID){
|
if ($rowID){
|
||||||
//check if under warranty
|
//check if under warranty
|
||||||
$warranty = getrowID($dbname,'rowID','history','equipmentid="'.$rowID['rowID'].'" && (type="'.$type9.'" || type="'.$type10.'" || type="'.$type11.'" || type="'.$type12.'")');
|
$warranty = getrowID($dbname,'rowID','equipment_history','equipmentid="'.$rowID['rowID'].'" && (type="'.$type9.'" || type="'.$type10.'" || type="'.$type11.'" || type="'.$type12.'")');
|
||||||
if ($warranty){
|
if ($warranty){
|
||||||
// --------------------------------------------
|
// --------------------------------------------
|
||||||
// Already under contract
|
// Already under contract
|
||||||
@@ -218,7 +218,7 @@ switch ($action) {
|
|||||||
$rowID = getrowID($dbname,'rowID','equipment','serialnumber="'.$post_content['sn'].'"');
|
$rowID = getrowID($dbname,'rowID','equipment','serialnumber="'.$post_content['sn'].'"');
|
||||||
if ($rowID){
|
if ($rowID){
|
||||||
//check if under warranty
|
//check if under warranty
|
||||||
$warranty = getrowID($dbname,'rowID','history','equipmentid="'.$rowID['rowID'].'" && (type="'.$type9.'" || type="'.$type10.'" || type="'.$type11.'" || type="'.$type12.'")');
|
$warranty = getrowID($dbname,'rowID','equipment_history','equipmentid="'.$rowID['rowID'].'" && (type="'.$type9.'" || type="'.$type10.'" || type="'.$type11.'" || type="'.$type12.'")');
|
||||||
if ($warranty){
|
if ($warranty){
|
||||||
// --------------------------------------------
|
// --------------------------------------------
|
||||||
// Already under contract
|
// Already under contract
|
||||||
|
|||||||
Reference in New Issue
Block a user