{{ 'REPORT_PAGE.WEEKLY_TIME_AND_ACTIVITY_REPORT' | translate }}

@if (organization) { }
@if (weekLogs?.length > 0) { {{ 'MENU.REPORTS' | translate }}
{{ 'REPORT_PAGE.EMPLOYEE' | translate }}
@for (date of weekDays; track date) {
{{ date | dateFormat }}
}
{{ 'REPORT_PAGE.WEEKLY_TOTAL' | translate }}
{{ 'REPORT_PAGE.ACTIVITY' | translate }}
{{ 'REPORT_PAGE.SPENT' | translate }}
@for (log of weekLogs; track log.employee?.id) {
{{ 'REPORT_PAGE.EMPLOYEE' | translate }}
@for (date of weekDays; track date) {
{{ date | date : 'E d MM, y' }}
@if (log.dates[date]) { {{ log.dates[date]?.sum | durationFormat }} } @else { — }
}
{{ 'REPORT_PAGE.WEEKLY_TOTAL' | translate }}
{{ log?.sum | durationFormat }}
{{ 'REPORT_PAGE.ACTIVITY' | translate }}
{{ 'REPORT_PAGE.SPENT' | translate }}
—
}
} @else { }