@extends('layouts/contentNavbarLayout') @section('title', 'Zillion') @section('content') @if(session('success'))
| Project | Total Task | Progress | Hours | |
|---|---|---|---|---|
|
@php
// Define a set of colors to alternate between
$colors = ['bg-label-primary', 'bg-label-success', 'bg-label-warning', 'bg-label-danger', 'bg-label-info'];
$colorClass = $colors[$activity->id % count($colors)];
@endphp
@if($activity->image)
{{ strtoupper(substr($activity->title, 0, 1)) }}
@endif
@php
$employeeActivities = App\Models\EmployeeActivityLog::where('activity_id', $activity->id)
->where('employee_id', $user->id)
->orderBy('created_at', 'desc') // Sorting by newest first
->get();
@endphp
{{ $activity->title }}
{{ $activity->typeModel->category }} / {{ optional($activity->clientModel)->name }}
Total Modules: {{ $totalmodules }}
Employee Activity Log - {{ $activity->title }}Project Activity Timeline
No activity logs available. @endifModule DetailsTotal Modules : {{ $modules->count() }} {{--
Total Estimated Hours: {{ $totalHoursModule }} hrs Total Estimated Days: {{ ceil($totalHoursModule / 8) }} days |
{{ $completedTasks }}/{{ $totalmodules }} | {{--
{{ number_format($progress, 2) }}% | --}}
{{ number_format($progress, 2) }}% |
{{ $totalModuleHours }}h / {{ $activity->hours }}h |