@extends("admin.layouts.app") @section("css-links") @endsection @section("page-header")

Offices

@endsection @section("content") @include("admin.includes.page-message")

Offices

View And Control All Offices

@if("control-office-settings")

Required Information For Real Offices

Commercial Register Image
Municipal License Image
Personal Identity Image
@endif @if(hasPermissions("view-and-control-offices"))

All Offices

@foreach($users as $user) @endforeach
# Commercial registration id Full name Phone number Email Rating Activation Commercial register image Municipal license image Personal identity image Last Updated Created On
{{$user->id}} {{empty($user->office) ? null : $user->office->commercial_register_id}} {{$user->full_name}} {{$user->phone_number}} {{$user->email}}
{{$user->rate}}
@if(!empty($user->office) && !empty($user->office->commercial_register_image_url))
@endif
@if(!empty($user->office) && !empty($user->office->municipal_license_image_url))
@endif
@if(!empty($user->office) && !empty($user->office->personal_identity_image_url))
@endif
{{$user->updated_at->diffForHumans()}} {{$user->created_at->diffForHumans()}}
@endif
@endsection @section("js-scripts") @endsection