@extends('layouts.master') @section('head') @endsection @section('content')

Manage CIT Service Status

User: {{Session::get("real_name")}}

{!! Form::open(['method' => 'get', 'route' => 'filter', 'class' => 'form-basic']) !!}
{!! Form::label('performance', 'Performance') !!}
{!! Form::label('unplanned', 'Unplanned') !!}
{!! Form::label('emergency', 'Emergency') !!}
{!! Form::label('scheduled', 'Scheduled') !!}
{!! Form::label('security', 'Security') !!}

{!! Form::label('status', 'Status') !!} {!! Form::select('status', [ '' => 'All', 'Open' => 'Open', 'Closed' => 'Closed', 'Draft' => 'Draft' ], old("status") ?: '', [ 'class' => 'form-control small', 'aria-invalid' => ($errors->has('status')?"true":"false") ]) !!}
{{ $errors->first('status') }}
@if(count($alerts) < $total)
@if(count($alerts)) Go to page: @endif @for($i = 1; $i <= $total/NUM_RESULTS + 1; $i++) @if(1 + ($i-1)*NUM_RESULTS == $start_num) {{$i}} @else {{$i}} @endif @endfor @endif
@if(!$total)

0 results found.

@elseif(Request::is('filter') || $total <= NUM_RESULTS)

{{$total}} results found, displaying all results.

@else

{{$total}} results found, displaying results {{$start_num}} - {{$start_num + NUM_RESULTS < $total ? $start_num + NUM_RESULTS : $total}}.

@endif @if(count($alerts)) @foreach($alerts as $alert) @endforeach
Alert Type Short Subject Author Last Updated Status Display on Home? Link
Edit {{$alert->type}} {!!$alert->short_subject!!} {{$alert->netid}} {{$alert->updated_at}} {{$alert->status}} {{$alert->home ? 'Yes' : 'No'}} View
@if(count($alerts) < $total)
@if(count($alerts)) Go to page: @endif @for($i = 1; $i <= $total/NUM_RESULTS + 1; $i++) @if(1 + ($i-1)*NUM_RESULTS == $start_num) {{$i}} @else {{$i}} @endif @endfor @endif @if(isset($remedy)) @if(!is_array($remedy))

No new Remedy tickets at this time.

@else

New tickets from Remedy that are NOT yet in our system:

@foreach($remedy as $alert) {{--@if($alert["date"] > \Carbon\Carbon::now())--}} {{--@endif--}} @endforeach
Title / Creator Date Created / Status Date of Event Date of Broadcast Link
{{$alert["summary"]}} {{$alert["status"]}} {{$alert["start"]}} -
{{$alert["end"]}}
{{$alert["date"]}} Copy this artifact ({{$alert["number"]}}) from Remedy to our status form.
@endif @else

No new Remedy tickets at this time.

@endif
@endif
@endsection