@php $configData = Helper::appClasses(); @endphp @extends('layouts/layoutMaster') @section('title', 'Commissions & Payouts - Administration') @section('content')

Commissions & Landlord Remittances

Configure system commission fee rates, review landlord ledger earnings, and authorize payouts.

@if (session('success'))
{{ session('success') }}
@endif
System Fee Configuration
@csrf
%
This percentage will be automatically deducted from all rents collected through the platform prior to landlord payouts.
Global Income Breakdown
@php $totalBilledAll = collect($ownersData)->sum('billed'); $totalCollectedAll = collect($ownersData)->sum('collected'); $totalCommissionsAll = collect($ownersData)->sum('commission'); $totalExpensesAll = collect($ownersData)->sum('expenses'); $totalRemittedAll = collect($ownersData)->sum('net_remitted'); @endphp
Total Billed

Ksh {{ number_format($totalBilledAll, 0) }}

Total Collected

Ksh {{ number_format($totalCollectedAll, 0) }}

Total Commissions

Ksh {{ number_format($totalCommissionsAll, 0) }}

Net Payouts

Ksh {{ number_format($totalRemittedAll, 0) }}

Current Landlord Payouts Schedule ({{ $billingMonth }})
Current Month
@forelse($ownersData as $data) @empty @endforelse
Landlord Owner Units Leased Gross Billed Rent Collected Comm. Deducted ({{ number_format($commissionRate, 1) }}%) Expenses Deducted Net Payout Due Disbursement Status Actions
{{ $data['owner']->name }}
{{ $data['owner']->email }}
{{ $data['owner']->properties->sum(fn($p) => $p->units->count()) }} Units Ksh {{ number_format($data['billed'], 2) }} Ksh {{ number_format($data['collected'], 2) }} -Ksh {{ number_format($data['commission'], 2) }} -Ksh {{ number_format($data['expenses'], 2) }} Ksh {{ number_format($data['net_remitted'], 2) }} @if($data['status'] === 'paid') Disbursed @else Pending Payout @endif @if($data['status'] === 'paid') Paid on {{ $data['paid_at']->format('d M, h:i A') }} @else
@csrf
@endif
No landlord portfolios active this month.
Disbursement History Log
@forelse($pastRemittances as $past) @empty @endforelse
Disbursed Date Landlord Billing Period Total Collected Commission Retained Expenses Offset Total Payout Amount Transaction Status
{{ $past->paid_at ? $past->paid_at->format('d M Y, h:i A') : $past->updated_at->format('d M Y, h:i A') }} {{ $past->owner->name }} {{ $past->billing_month }} Ksh {{ number_format($past->total_collected, 2) }} Ksh {{ number_format($past->commission_deducted, 2) }} Ksh {{ number_format($past->expenses_deducted, 2) }} Ksh {{ number_format($past->net_remitted, 2) }} @if($past->status === 'paid') Completed @else Draft @endif
No historical disbursements registered.
@endsection