Projet {{ $project->projectName }}

@foreach ($authors as $author) @if ($author->isLeader == '1') @break @endif @endforeach
date_range
Deadline
{{ App\Utils\Utils::getDBDateFormat($project->projectDeadLine, true) }}

Historique équipe projet

{{-- Users assigning to project history--}} @foreach ($authors as $author) @if ($author->idUser != auth()->id())
@if ($author->assignedBy == auth()->id()) Vous avez ajouté {{ $author->employeeFirstname.' '.$author->employeeLastname }} à l'équipe projet le {{ date('d M Y | H:i', strtotime($author->createdDate)) }} @else {{ $author->assignedUserFirstname.' '.$author->assignedUserLastname }} a ajouté {{ $author->employeeFirstname.' '.$author->employeeLastname }} à l'équipe projet le {{ date('d M Y | H:i', strtotime($author->createdDate)) }} @endif
@endif @endforeach

Historique fichiers projet

{{-- Users files uploaing history--}} @foreach($files as $file)
@if ($file->idUser == auth()->id()) Vous avez ajouté un fichier @else {{ $file->employeeFirstname.' '.$file->employeeLastname }} a ajouté un fichier @endif {{ date('d M Y | H:i', strtotime($file->created_at)) }}
  • {!! App\Utils\Utils::getIcon(asset('storage/fileManager/'.$file->HashName.'')) !!} {{ Str::limit($file->fileName, 20) }}
@endforeach

Historique chat projet

{{-- Users chat about projects--}} @foreach($chats as $chat)
@if ($chat->idUser == auth()->id()) Vous @else {{ $chat->employeeFirstname.' '.$chat->employeeLastname }} @endif {{ date('d M Y | H:i', strtotime($chat->chatAt)) }}

{{ $chat->chatContent }}

@endforeach