@extends('branches.branch_navbar') @section('content') @php $total = (float)($branchTotalAmount ?? 0); $paid = (float)($branchPaidAmount ?? 0); $rem = (float)($branchRemainingAmount ?? 0); $pct = $total > 0 ? round(($paid / $total) * 100) : 0; @endphp
Branch Dashboard

Branch Performance

Your customers, orders, and billing summary.

Orders: {{ $branchOrdersCount ?? 0 }}
Customers (Created by Branch)
{{ $branchCustomerCount ?? 0 }}
Customers registered by this branch
Orders (Branch)
{{ $branchOrdersCount ?? 0 }}
Total orders created from branch visits
Payment Progress
{{ $pct }}%
Paid vs billed
Total Amount (Branch Orders)
{{ number_format($total, 2) }}
Billed total (after discounts)
Paid Amount
{{ number_format($paid, 2) }}
Collected so far
Remaining Amount
{{ number_format($rem, 2) }}
Pending payments
Collection Bar
A quick visual of collections
@endsection