@extends('layouts.app') @section('title', 'Geofence Management') @section('no-page-header') @section('content')
Manage virtual boundaries and location monitoring
Total Geofences
{{ $geofences->count() }}
Active
{{ $geofences->where('is_active', true)->count() }}
Circular
{{ $geofences->where('geofence_type', 'circular')->count() }}
Polygon
{{ $geofences->where('geofence_type', 'polygon')->count() }}
| Geofence | Service | Client | Type | Radius | Status | Actions | |
|---|---|---|---|---|---|---|---|
|
{{ $geofence->name }}
{{ $geofence->geofence_type }}
|
{{ $geofence->service->service_name }} | {{ $geofence->service->client->client_name }} | {{ ucfirst($geofence->geofence_type) }} | @if($geofence->geofence_type === 'circular') {{ $geofence->radius }}m @else N/A @endif | {{ $geofence->is_active ? 'Active' : 'Inactive' }} | ||
| No geofences found. | |||||||