@extends('layouts.app') @section('title', 'Collector Dashboard') @section('content')
Welcome back, {{ $collector->name ?? 'Collector' }}! Here's your collection performance overview.
| Date | Amount | Received By | Status |
|---|---|---|---|
| {{ optional($deposit->deposit_date)->format('d M Y') }} | ৳{{ number_format($deposit->amount, 2) }} | {{ $deposit->receiver ? $deposit->receiver->name : 'N/A' }} |
@if($deposit->is_approved)
Approved
@if($deposit->approver)
by {{ $deposit->approver->name }} @endif @else Pending @endif |
{{ $activity['description'] }}
{{ \Carbon\Carbon::parse($activity['date'])->diffForHumans() }}No recent activities
| Client | Amount | Due Date | Status |
|---|---|---|---|
|
{{ $bill->client->name ?? 'N/A' }}
{{ $bill->client->phone ?? '' }} |
৳{{ number_format($bill->total_amount, 2) }} | {{ $bill->due_date->format('M d, Y') }} | {{ ucfirst($bill->status) }} |
No pending bills
| Type | Amount | Date | Status |
|---|---|---|---|
|
{{ ucfirst($expense->expense_type) }}
@if($expense->description)
{{ Str::limit($expense->description, 30) }} @endif |
৳{{ number_format($expense->amount, 2) }} | {{ $expense->expense_date->format('M d, Y') }} | {{ $expense->is_approved ? 'Approved' : 'Pending' }} |
No recent expenses
| Month | Total Bills | Paid Bills | Collection Rate | Amount Collected |
|---|---|---|---|---|
| {{ $month['month'] }} | {{ $month['bills'] }} | {{ $month['paid'] }} |
|
৳{{ number_format($month['collected'], 2) }} |
| Branch | Current Month | Last Month | Growth | Collection Rate | Rate Change |
|---|---|---|---|---|---|
|
{{ $performance['branch_name'] }}
@if($performance['branch_code'])
Code: {{ $performance['branch_code'] }} @endif |
৳{{ number_format($performance['current_month']['collected_amount'], 2) }}
{{ $performance['current_month']['paid_bills'] }}/{{ $performance['current_month']['total_bills'] }} bills |
৳{{ number_format($performance['last_month']['collected_amount'], 2) }}
{{ $performance['last_month']['paid_bills'] }}/{{ $performance['last_month']['total_bills'] }} bills |
@if($performance['growth']['collection_growth'] > 0) +{{ $performance['growth']['collection_growth'] }}% @elseif($performance['growth']['collection_growth'] < 0) {{ $performance['growth']['collection_growth'] }}% @else 0% @endif |
|
@if($performance['growth']['rate_growth'] > 0) +{{ $performance['growth']['rate_growth'] }}% @elseif($performance['growth']['rate_growth'] < 0) {{ $performance['growth']['rate_growth'] }}% @else 0% @endif |
No branch performance data available