@extends('layouts.app') @section('title', 'Manage Offices') @section('content')

Office Management

Manage courier offices and their locations

Back to Dashboard Add New Office
Search & Filters
Clear
Offices List ({{ $offices->total() }} total)
@if($offices->count() > 0)
@foreach($offices as $office) @endforeach
Office Info Location Contact Details Manager Status Created Date Actions
{{ $office->name }}
Office ID: {{ $office->id }}
{{ $office->district->name }}
{{ $office->district->province }}
{{ Str::limit($office->address, 40) }}
{{ $office->phone }} @if($office->email)
{{ $office->email }} @endif
{{ strtoupper(substr($office->manager_name, 0, 2)) }}
{{ $office->manager_name }}
@if($office->is_active) Active
Operational @else Inactive
Closed @endif
{{ $office->created_at->format('M d, Y') }}
{{ $office->created_at->format('h:i A') }}
{{ $offices->appends(request()->query())->links() }}
@else

No Offices Found

No offices match your current search criteria.

Add First Office
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush