@extends('master') @section('content') @if($message = session('error'))
{{ $message }}
@endif

Company List

@foreach($companies as $company) @foreach ($company->users as $user) @endforeach @endforeach
Doctor's Name Name Contact No. Status Role Gender Action
@foreach($company->users as $user) {{ $user->name }} @endforeach @foreach($company->users as $user) {{ $user->contact_no }} @endforeach @foreach($company->users as $user) {{ $user->status }} @endforeach @foreach($company->users as $user) {{ $user->fee }} @endforeach @foreach($company->users as $user) @if($user->role_id == 1) Admin @elseif($user->role_id== 2) Company Admin @endif @endforeach {{ $user->gender }} Edit View
@endsection @push('scripts') @endpush