select('t.id, t.title, tlog.issue_date, tlog.note') ->from(Tmc::tableName() . ' t') ->leftJoin(Log::tableName() . ' tlog', 'tlog.tmc = t.id') ->where('t.status = ' . TmcStatus::TMC_STATUS_REPAIR) ; $devices = $query->all(); ?>
= $device['issue_date'] ?>
= $device['note'] ?>