@extends('admin.layout.default') @section('content')

Manage Company

@if (session()->has('success'))

{!! session()->get('success') !!}

@endif @if (session()->has('error'))

{!! session()->get('error') !!}

@endif

Manage Company
@if(count($companies)>0) @foreach($companies as $company) @endforeach @else @endif
Sr No. Date Company Name User Name Email Company Phone Project Count Action
{{$i}} {{$company->created_at}} {{$company->company_name}} {{$company->user_name}} {{$company->user_email}} {{$company->company_phone}} {{$company->user->projects->where('is_deleted', 0)->count()}}
{!! Form::open(['method' => 'DELETE','route' => ['companies.destroy', $company->id],'style'=>'display:inline']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} Active
Result not found
{{$companies->appends(request()->input())->links() }}
@endsection