@if(userCan('edoctument-list')==0) @php header("Location: " . URL::to('errors.403'), true, 302); exit(); @endphp @endphp @endif @extends('layouts.default') @php $pageTitle = 'Document List'; @endphp @section('title',$pageTitle) @section('PageHead') @if ( session('massage') ) × Success! {{session('massage')}} @endif @if ( session('error') ) × Not Success! {{session('error')}} @endif @if (Session::has('errors')) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif {{$pageTitle}} Dashboard @if(userCan('edoctument-list')>0) eDocument List @endif @if(userCan('edoctument-create')>0) Add New @endif @stop @section('content') {{ csrf_field() }} Per Page 10 25 50 100 Search - All Active In-Active Document Name & Type Version No Issue No Created By Updated By Type Action @foreach($datas as $key=>$data) {{$data->document_name}} {!!@documentTypeList($data->doc_type,1)!!} V-{{@$data->doc_version}} {{@$data->issue_no}} {{@$data->createUser->name}} {{date('d/m/Y h:iA',strtotime($data->created_at))}} {{@$data->updateUser->name}} {{date('d/m/Y h:iA',strtotime($data->updated_at))}} {{$data->file_type}} {{number_format($data->file_size/1024,2)}} MB @if(userCan('edoctument-view')>0) @endif @if(userCan('edoctument-edit')>0) @endif @endforeach @stop