@extends('fo.tpl.layout') @section('content')

List of Incident

{{ csrf_field() }} @foreach($incidents as $incident) @if(! \App\Helper\Visibilite::isLinkToTask ($incident->id,"INCIDENT")) @if ($incident->state=="OPENED"||$incident->state=="TO DO") @if($incident->state=="TO DO") @endif @if($incident->state=="OPENED") @endif @endif @endif @endforeach
Incident Name Incident Description Priority Deadline Impact State Operations
{{str_limit($incident->incident_name, $limit = 25, $end = '...') }} {{str_limit($incident->description, $limit = 25, $end = '...') }} {{$incident->priority->priority_name}} {{ \Carbon\Carbon::parse($incident->deadline)->format('d/m/Y')}} {{$incident->impact->impact_name}}
{{$incident->state}}
{{$incident->state}}
@if(Auth::user()->isIncidentManager()) @if ($incident->state=="OPENED") @endif @if ($incident->state=="TO DO") @endif @endif @endif @else @endif
@include('fo.incidents.inc.comment') @include('fo.incidents.inc.createSubIncident') @include('fo.incidents.inc.linkToTask') @stop @section('addlibjs') @stop