@extends('layouts.master') @section('title') @lang('translation.Branches') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Admin @endslot @slot('title') Branches Management @endslot @endcomponent
Branches Management
Add New Branch Smart View @if(request('onlyTrashed')) View Active View All @elseif(request('withTrashed')) View Active View Deleted @else View Deleted View All @endif
@if(session('success'))
{{ session('success') }}
@endif
@if(request()->has('search')) @endif
@forelse($branches as $branch) @empty @endforelse
# Branch Name Code Address Employer Contact Status Actions
{{ $loop->iteration + ($branches->currentPage() - 1) * $branches->perPage() }} {{ $branch->name }} {{ $branch->code }} {{ $branch->location }} @if($branch->employer) {{ $branch->employer->name }} @else N/A @endif {{ $branch->contact_email }} @if($branch->phone)
{{ $branch->phone }} @endif
{{ $branch->active ? 'Active' : 'Inactive' }} @if(method_exists($branch, 'trashed') && $branch->trashed()) Deleted @endif
@if($branch->trashed())
@csrf @method('PUT')
@csrf @method('DELETE')
@else
@csrf @method('DELETE')
@endif

No branches found

Try adjusting your search or filter to find what you're looking for.

Add New Branch
Showing {{ $branches->firstItem() }} to {{ $branches->lastItem() }} of {{ $branches->total() }} entries
{{ $branches->withQueryString()->onEachSide(1)->links() }}
@endsection @section('script') @endsection @section('script-bottom') @endsection