@extends('both.template') @section('title', 'LEAD PROJETS | OPTIMIA') @section('styleSheets') @endsection @section('content')
@php $colors = [ 1 => 'warning', 2 => 'danger', 3 => 'success', 4 => 'info' ]; @endphp @php $i = 1; @endphp @foreach($authors as $lead) @if ($lead->isLeader === 1) @php $i++; @endphp @endif @endforeach
# Leader Email Phone Projet Staff Status Création Actions
{{ $i }}

{{ $lead->employeeFirstname.' '.$lead->employeeLastname }}

{{ $lead->employeeEmail }} {{ $lead->employeePhone }} {{ $lead->projectName }}
    @foreach($authors as $team) @if ($team->isLeader === 0 && $team->idProjectList == $lead->idProjectList)
  • @endif @endforeach
{{ $lead->projectStateName }} {{ date('d M Y', strtotime($lead->createdAt)) }}
@endsection @section('scriptsSheets') @endsection