| $time = date("h:i A", strtotime($w->dateTimeStart)); | $time = date("h:i A", strtotime($w->dateTimeStart)); | ||||
| } | } | ||||
| array_push($nested_data, array( | array_push($nested_data, array( | ||||
| 'formT' => $n1.$i.$w->Form->type_application, | 'formT' => $n1.$i.$w->Form->type_application, | ||||
| 'service' => $w->nature_work, | 'service' => $w->nature_work, | ||||
| 'installer' => $installer, | 'installer' => $installer, | ||||
| 'date' => $date, | 'date' => $date, | ||||
| 'time' => $time, | 'time' => $time, | ||||
| 'status' => $w->status, | |||||
| 'status' => $w->status." (".$w->remarks_installer.")", | |||||
| 'action' => $w->wo, | 'action' => $w->wo, | ||||
| )); | )); | ||||
| } | } | ||||
| 'installer' => $installer, | 'installer' => $installer, | ||||
| 'date' => $date, | 'date' => $date, | ||||
| 'time' => $time, | 'time' => $time, | ||||
| 'status' => $w->status, | |||||
| 'status' => $w->status." (".$w->remarks_installer.")", | |||||
| 'action' => $w->wo, | 'action' => $w->wo, | ||||
| )); | )); | ||||
| } | } |