@extends('layouts.app') @section('title', 'CBO Details') @section('content')

CBO Details

Back to CBO List

CBO Information

Basic Information

CBO Code:
{{ $cbo->cbo_code }}
CBO Name:
{{ $cbo->cbo_name }}
Formation Date:
{{ $cbo->formation_date->format('Y-m-d') }}
Status:
{{ ucfirst($cbo->status) }}

Branch & Officer

Branch:
{{ $cbo->branch->branch_name ?? 'N/A' }}
Credit Officer:
{{ $cbo->creditOfficer->name ?? 'N/A' }}
@if($cbo->address || $cbo->province || $cbo->district)

Location Information

@if($cbo->address)
Address:
{{ $cbo->address }}
@endif @if($cbo->province)
Province:
{{ $cbo->province }}
@endif @if($cbo->district)
District:
{{ $cbo->district }}
@endif @if($cbo->ds_division)
DS Division:
{{ $cbo->ds_division }}
@endif @if($cbo->gs_division)
GS Division:
{{ $cbo->gs_division }}
@endif
@endif @if($cbo->meeting_day || $cbo->meeting_time || $cbo->meeting_frequency)

Meeting Information

@if($cbo->meeting_day)
Meeting Day:
{{ $cbo->meeting_day }}
@endif @if($cbo->meeting_time)
Meeting Time:
{{ $cbo->meeting_time }}
@endif @if($cbo->meeting_frequency)
Frequency:
{{ $cbo->meeting_frequency }}
@endif
@endif @if($cbo->members->count() > 0)

CBO Members ({{ $cbo->members->count() }})

@foreach($cbo->members as $member) @endforeach
Name NIC Phone Status
{{ $member->full_name }} {{ $member->nic }} {{ $member->phone }} {{ ucfirst($member->status) }}
@endif
Edit CBO Back to List
@endsection