@extends('admin.layouts.app') @section('title', 'Branches List') @section('content')
{{-- Success Message --}} @if(session('success')) @endif
{{-- Header --}}
Branches List

Manage bank branches and their details.

{{-- Search Filter --}}
Add Branch
@forelse($branches as $key => $branch) @empty @endforelse
Sr.No Bank Branch_Address Branch_Email IFSC_CODE Contact_Incharge Status Action
{{ $branches->firstItem() + $key }}
{{ $branch->bank->bank ?? 'N/A' }}
{{ $branch->branch_address }} {{ $branch->branch_email }} {{ $branch->ifsc }}
{{ $branch->cash_incharge }} @if(!empty($branch->branch_email)) {{ $branch->branch_email }} @endif
@if($branch->is_active) Active @else Inactive @endif
{{-- Edit --}} {{-- Delete --}}
@csrf @method('DELETE')

No branches found.

{{-- Pagination --}} @if($branches->hasPages()) @endif
{{-- Styles for Soft Buttons --}} @push('styles') @endpush @push('scripts') {{-- SweetAlert2 CDN (If not already included in layout) --}} @endpush @endsection