Proyectos de Subversion LeadersLinked - Services

Rev

Rev 375 | Rev 377 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 375 Rev 376
Línea 85... Línea 85...
85
            $listAccessDays = [];
85
            $listAccessDays = [];
86
            $dates = $habitReportMapper->validateAndAdjustDates($initialDate, $finalDate);
86
            $dates = $habitReportMapper->validateAndAdjustDates($initialDate, $finalDate);
87
            $records = $habitReportMapper->fetchDaysIntervalsRegisterList($currentUser->id, $dates[0], $dates[1]);
87
            $records = $habitReportMapper->fetchDaysIntervalsRegisterList($currentUser->id, $dates[0], $dates[1]);
Línea 88... Línea 88...
88
 
88
 
89
            foreach ($records as $record) {
89
            foreach ($records as $record) {
90
                $listAccessDays[] = $record["updated_on"];
90
                $listAccessDays[] = $record['updated_on'];
91
            }
91
            }
92
            return new JsonModel([
92
            return new JsonModel([
93
                'success' => true,
93
                'success' => true,
94
                'data' => [
94
                'data' => [