@extends('layouts.app') @section('title', 'Edit Office') @section('content')

Edit Office

Back to Offices
Office Information
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('district_id')
{{ $message }}
@enderror
@error('address')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
Format: 011-2345678 or 077-1234567
@error('email')
{{ $message }}
@enderror
Optional - Will be auto-generated if not provided
Manager Information
@error('manager_name')
{{ $message }}
@enderror
Office Status
is_active) ? 'checked' : '' }}>
Active offices can accept new orders and be assigned to agents. Inactive offices will not appear in selection lists.
Note: Changes to office information will affect all associated agents and future orders. Make sure all information is accurate before saving.
Cancel
Office Statistics

{{ $office->agents()->count() }}

Active Agents

{{ $office->orders()->count() }}

Total Orders

Office Status @if($office->is_active) Active @else Inactive @endif
Created {{ $office->created_at->format('M d, Y') }}
Last Updated {{ $office->updated_at->format('M d, Y') }}
@endsection