Door
Temperature
GPS Device
Service Device
Not working Chambers Temperature , Door, Service Issue
| Sr. No. |
Chamber |
City |
Generate By |
Day since NW |
Turn around time |
Raised Date |
Issue |
Action |
Reason |
No. Of service happened in last 6 month |
Status |
| Sr. No. |
Chamber |
City |
Day since NW |
Issue |
Action |
Reason |
No. Of service happened in last 6 month |
Status |
Add Ticket |
foreach ($notworking as $key => $value) {
$getLastsix = $masterObj->getAllStatus_data($lastsixMonth,$value['veh_reg']);
$date1_ts = strtotime($value['lastcontact']);
$date2_ts = strtotime(date('Y-m-d H:i:s'));
$diff = $date2_ts - $date1_ts;
$notworkingdays = round($diff / 86400);
foreach ($Allcitydata as $k => $val) {
if ($value['veh_reg'] === $k) {
$cityName = $val;
}else{
$cityname = '';
}
}
?>
| =$key+1;?> |
=$value['veh_reg'];?> |
=$cityName;?> |
= $notworkingdays;?> Days |
=$value['last_service_reason'];?> |
=$value['pname'];?> |
=$value['back_reason'];?> |
|
='Not Working' ?> |
add Ticket |
} ?>
| Sr. No. |
Chamber |
City |
Hour since NW |
Add Ticket |
$value) {
foreach ($Allcitydata as $k => $val) {
if ($value['veh_reg'] === $k) {
$cityName = $val;
}
}
?>
| =$key+1;?> |
=$value['veh_reg'];?> |
=$cityName;?> |
=$value['HourDiff'] ? $value['HourDiff'] : '0';?> |
add Ticket |
} ?>