@extends('layout.app') @section('content')
Owner: {{ $property->propertyOwner?->name }} · {{ $property->propertyOwner?->email }} · {{ $property->propertyOwner?->phone }}
@if($payments->isEmpty())Nothing is owed to this hotel.
@endif {{-- One payout per currency: LKR and USD are never combined --}} @foreach($payments->groupBy(fn ($payment) => $payment->currency->code)->sortKeys() as $currency => $group)| Date | Amount | Reference | Note | Recorded by |
|---|---|---|---|---|
| {{ $payout->paid_at->timezone(config('bedspace.timezone'))->format('Y-m-d') }} | {{ $payout->money() }} | {{ $payout->reference }} | {{ $payout->notes }} | {{ $payout->recordedBy?->name }} |
| No payouts yet. | ||||