@if(userCan('company-list')==0) @php header("Location: " . URL::to('errors.403'), true, 302); exit(); @endphp @endphp @endif @extends('layouts.default') @php $pageTitle = 'Company 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('setting-list')>0) Settings @endif @if(userCan('company-list')>0) {{$pageTitle}} @endif @if(userCan('company-create')>0) Add New @endif @stop @section('content') {{ csrf_field() }} Per Page 10 25 50 100 Search - All Active In-Active Name Company Type Primary Contact Name Primary Contact Status Action @foreach($datas as $key=>$data) {{$data->name}} {{@$data->company_type_name->type_name}} @if(intval($data->parent)>0) Parent @else Child @endif {{$data->primary_contact_name}} {{$data->primary_contact_designation}} {{$data->email}} {{$data->contact}} @if($data->status==1) Active @else Deactive @endif @if(userCan('company-edit')>0) @endif @endforeach @stop