@extends('layouts.admin') @section('title', 'Payouts') @section('header', 'Payout Management') @php $currencySymbol = App\Models\AppSetting::getValue('currency_symbol', '?'); $activeGatewaySupportsAutomation = \App\Support\GatewayRegistry::supportsAutomatedPayout($activeGateway ?? null); @endphp @section('content')
Manage store and driver payouts
Store Payouts
Driver Payouts
Total Completed
Total Pending
| ID | Type | Recipient | Period | Amount | Deduction | Net Amount | Status | Transaction ID | Processed At | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| #{{ $payout->id }} | @if($payout->restaurant_id) Restaurant @if(Str::startsWith((string) $payout->idempotency_key, 'manual_restaurant_')) Manual request @endif @else Driver @endif |
{{ $payout->restaurant->name ?? $payout->driver->name ?? 'N/A' }}
@if($payout->restaurant && $payout->restaurant->owner)
{{ $payout->restaurant->owner->email ?? '' }}
@endif
|
{{ \Carbon\Carbon::parse($payout->period_start)->format('d M Y') }}
to {{ \Carbon\Carbon::parse($payout->period_end)->format('d M Y') }}
|
{{ $currencySymbol }}{{ number_format($payout->amount, App\Models\AppSetting::currencyDecimals()) }} | @if($payout->deduction_amount > 0) -{{ $currencySymbol }}{{ number_format($payout->deduction_amount, App\Models\AppSetting::currencyDecimals()) }} @if($payout->deduction_revoked_at) @endif @else - @endif | {{ $currencySymbol }}{{ number_format($payout->amount - ($payout->deduction_amount ?? 0), App\Models\AppSetting::currencyDecimals()) }} | @if($payout->status == 'pending') Pending @elseif($payout->status == 'completed') Completed @elseif(in_array($payout->status, ['processing', 'queued'])) Processing @else Failed @endif | {{ $payout->transaction_id ?? '-' }} | {{ $payout->processed_at ? $payout->processed_at->format('d M Y') : '-' }} |
@if($payout->status == 'pending')
@endif
|
|
No payouts found Generate payouts to get started |
||||||||||