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

DASHBOARD

@endsection @section('content')
@if(Session::has('success')) @endif @if ($errors->any())
@endif

Active

@foreach ($projects as $project) @if ($project->status == "Activ")
{{$project->client->name}} @foreach($project->modules as $module) @foreach($module->milestones as $milestone) @foreach($milestone->tasks as $task) @if ($task->isForUser) @endif @endforeach @endforeach @endforeach
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 != "Activ")
{{$project->name}} În așteptare {{$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