@extends('layout.app') @section('content') @php($fmt = fn ($v) => number_format($v, 2)) @foreach($totals as $currency => $total)
{{ $label }}
LKR payments are totalled in LKR and USD payments in USD. The two currencies are never converted or combined.
@include('reports._monthPicker')| Hotel | Owner | Currency | Bookings | Collected online | Collected at hotel | Refunds | Gross (net) | Commission | Settlement |
|---|---|---|---|---|---|---|---|---|---|
| {{ $row->property_name }} | {{ $row->owner_name }} | {{ $row->currency }} | {{ $row->bookings }} | {{ $fmt($row->online) }} | {{ $fmt($row->hotel) }} | {{ $row->refunds > 0 ? "− ".$fmt($row->refunds) : "–" }} | {{ $fmt($row->gross) }} | {{ $fmt($row->commission) }} | @if($row->settlement >= 0) Pay hotel {{ $row->currency }} {{ $fmt($row->settlement) }} @else Hotel owes {{ $row->currency }} {{ $fmt(-$row->settlement) }} @endif |
| No payments in this month. | |||||||||
| Total {{ $currency }} | {{ $currency }} | {{ $total->bookings }} | {{ $fmt($total->online) }} | {{ $fmt($total->hotel) }} | {{ $total->refunds > 0 ? "− ".$fmt($total->refunds) : "–" }} | {{ $fmt($total->gross) }} | {{ $fmt($total->commission) }} | {{ $fmt($total->settlement) }} | |
Settlement: online payments are collected by the platform, which pays the hotel the amount less commission; payments taken at the hotel leave the hotel owing the commission.