@extends('layouts.app') @section('content')

Branches

Add Branch
@if (session('success'))
{{ session('success') }}
@endif
@forelse ($branches as $branch) @continue($branch->role === 'super_admin') {{-- Skip Super Admins --}} @empty @endforelse
# Name Actions
{{ $branch->id }} {{ $branch->name }} @if(!in_array($branch->role, ['super_admin', 'co_admin'])) View Edit
@csrf @method('DELETE')
@else No actions @endif
No branches found.
{{ $branches->links() }}
@endsection