@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'))
@endif

{{$pageTitle}}

@stop @section('content')
{{ csrf_field() }}
Per Page
@foreach($datas as $key=>$data) @endforeach
Document Name & Type Version No Issue No Created By Updated By Type Action
{{$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
@stop