@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')
@foreach ($sips as $sip) @endforeach
Sip ID Title Created On
{{ $sip->id }} {!! $sip->title !!} {{ \App\User::getUserName($sip->created_by) }}   {!! date('d M Y', strtotime($sip->created_at)) !!}
{{ $sips->appends(Input::except('page'))->links() }}
@endsection