@extends('layouts.app') @section('title', 'Branches') @section('content')
{{-- Page Header --}}

Branches

Manage and monitor your company branches.

@can('branch.create') New Branch @endcan
{{-- Filter Section --}}
Reset
{{-- Total Branches --}}
Showing {{ $items->total() }} branches found.
{{-- Branch Table --}} @forelse ($items as $item) @empty @endforelse
Name Code Phone Manager Status Actions
{{ $item->name }}
{{ $item->code }} {{ $item->phone ?? '—' }} {{ $item->manager?->name ?? '—' }} {{ $item->status }}
@can('branch.view') View @endcan @can('branch.edit') Edit @endcan @can('branch.delete') @endcan
No branches found.
Adjust the filters or create a new branch.
{{-- Pagination --}}
{{ $items->links() }}
@endsection {{-- SweetAlert2 Delete Confirmation --}} @push('scripts') @endpush