@extends('layouts.page')
@section('title')
SIP
{{ $sips->total() }}
@endsection
@section('nav-all')
@include ('search', ['model' => &$sip])
@endsection
@section('navs')
@if(!Auth::user()->hasAnyRole(['guest']))
@if(Auth::user()->hasAnyDepartment(['comm']) || Auth::user()->isAdmin())
@endif
@endif
@endsection
@section('content')
| Sip ID |
Title |
Created On
|
@foreach ($sips as $sip)
|
{{ $sip->id }}
|
{!! $sip->title !!} |
{{ \App\User::getUserName($sip->created_by) }}
{!! date('d M Y', strtotime($sip->created_at)) !!}
|
@endforeach
{{ $sips->appends(Input::except('page'))->links() }}
@endsection