{{ translate('messages.Payout_Settings_for_Deliveryman') }}

{{ translate('messages.Configure_and_manage_payout_rules_for_deliverymen,_including_minimum_withdrawal_limits,_payment_methods,_and_payout_schedules_to_ensure_timely_and_secure_transactions.') }}

{{ translate('Base Pickup Charge') }}  
@csrf @php $base_pickup_charge = collect($zone->incentive_schemes)->where('slug', 'base_pickup_charge')->first(); @endphp
{{translate('Pickup_Based_Delivery_Charge')}}  
@csrf @php $pickup_based_delivery_charge = collect($zone->incentive_schemes)->where('slug', 'pickup_based_delivery_charge')->first(); @endphp
{{translate('Long Distance Return Compensation Slabs')}}  
@csrf @php $long_distance = collect($zone->incentive_schemes)->where('slug', 'long_distance_return_compensation_slabs')->first(); @endphp
@php $slabs = json_decode($long_distance->details ?? '[]', true); $slabsArray = $slabs ?? []; // Pad to 10 rows if less while(count($slabsArray) < 10) { $slabsArray[]=null; } @endphp @for ($i=0; $i < 10; $i++) @endfor
{{ translate('Minimum KM') }} {{ translate('Maximum KM') }} {{ translate('Fixed Amount') }} ({{ \App\CentralLogics\Helpers::currency_symbol() }})
{{translate('Variable_Payout_Based_on_Day_&_Time')}}  
@php collect($zone->incentive_schemes)->whereIn('slug', ['day_based', 'festival_based'])->each(function($scheme) use (&$existingDaySlots, &$existingFestivalPayouts) { if($scheme->slug == 'day_based') { $existingDaySlots = collect(json_decode($scheme->details ?? '[]'))->keyBy('day'); } elseif($scheme->slug == 'festival_based') { $existingFestivalPayouts = collect(json_decode($scheme->details ?? '[]')); } }); @endphp
@csrf @php $days = [ 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday' ]; @endphp
@php $day_based_status = $zone->incentive_schemes->where('slug', 'day_based')->first(); @endphp
@foreach($days as $day) @endforeach
Day Choose Slots Per KM Amount ({{ \App\CentralLogics\Helpers::currency_symbol() }}) Status
{{ $day }}
@csrf
@forelse ($existingFestivalPayouts ?? [] as $festival) @empty @endforelse
Festival Date Per KM Amount Status Action
{{ \Carbon\Carbon::parse($festival->festival_date)->format('d M Y') }} {{ \App\CentralLogics\Helpers::currency_symbol() }} {{ number_format($festival->per_km_charge, 2) }} {{-- @csrf @method('DELETE') --}}
No festival payouts added