@extends('fo.tpl.layout') @section('content')
Incident Name | Description | Priority | Deadline | State | Operations | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{{str_limit($incident['incident_name'], $limit = 15, $end = '...') }} | {{str_limit($incident['description'], $limit = 25, $end = '...') }} | {{$incident->priority->priority_name}} | {{ \Carbon\Carbon::parse($incident['deadline'])->format('d/m/Y')}} | @if ($incident->state=="TO DO")
{{$incident->state}}
|
@endif
@if($incident->state=="OPENED")
{{$incident->state}}
|
@endif
@if($incident->state=="IN_PROGRESS")
{{$incident->state}}
|
@endif
@if($incident->state=="CLOSED")
{{$incident->state}}
|
@endif
@if($incident->state=="VALID")
{{$incident->state}}
|
@endif
@if($incident->state=="TREATED")
{{$incident->state}}
|
@endif
@if($incident->state=="REFUSED")
{{$incident->state}}
|
@endif
|