Exemplo n.º 1
0
 public function getDetailData($id, $postData, $properties)
 {
     $terminalTimesheetData = TerminalTimesheetData::getTableName();
     $dataSet = TerminalTimesheetData::where("{$terminalTimesheetData}.IS_LOAD", '=', 0)->where("{$terminalTimesheetData}.PARENT_ID", '=', $id)->select("{$terminalTimesheetData}.*", "{$terminalTimesheetData}.ID as DT_RowId", "{$terminalTimesheetData}.ID as {$terminalTimesheetData}")->get();
     return $dataSet;
 }