@extends('layouts.metronic') @section('title')

PROIECTE

@endsection @section('content')
@if (Auth::user()->role->code == 'ADMIN' || Auth::user()->role->code == 'PM' || Auth::user()->email == 'andrei.lucaci@headlightsolutions.ro') @endif

Active

@foreach ($projects as $project) @if ($project->status != "Închis")
{{$project->name}} Activ {{$project->client->name}}
Perioada estimata: {{$project->estimated_start_date->format("d.m.Y")}} - {{$project->estimated_end_date->format("d.m.Y")}} Ore estimate: {{$project->estimated_hours}} Ore lucrate: {{$project->worked_hours}} Atribuit lui: @foreach($project->users as $user) {{$user->name}}[{{$user->role->code}}], @endforeach Creat la: {{$project->created_at->format("d.m.Y")}}
@endif @endforeach
@foreach ($projects as $project) @if ($project->status == "Închis")
{{$project->name}} Închis {{$project->client->name}}
Perioada estimata: {{$project->estimated_start_date->format("d.m.Y")}} - {{$project->estimated_end_date->format("d.m.Y")}} Ore estimate: {{$project->estimated_hours}} Ore lucrate: {{$project->worked_hours}} Atribuit lui: @foreach($project->users as $user) {{$user->name}}[{{$user->role->code}}], @endforeach Creat la: {{$project->created_at->format("d.m.Y")}}
@endif @endforeach
@endsection @section('menuVariables') @endsection