@extends('layouts.master') @section('title') @lang('translation.Branches') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Admin @endslot @slot('title') Branches Management @endslot @endcomponent
Branches Management
@if(session('success'))
{{ session('success') }}
@endif @forelse($branches as $branch) @empty @endforelse
# Branch Name Code Address Employer Contact Info Status Actions
{{ $loop->iteration + ($branches->currentPage() - 1) * $branches->perPage() }}
{{ $branch->name }}
{{ $branch->code }} {{ Str::limit($branch->location, 50) }} @if($branch->employer)
@if($branch->employer->logo) {{ $branch->employer->name }} @else
{{ substr($branch->employer->name, 0, 1) }}
@endif {{ $branch->employer->name }}
@else N/A @endif
@if($branch->contact_person) {{ $branch->contact_person }}
@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
@endsection @section('script') @endsection