No | Booking Date | Check-in | Check-out | Night | Booking No | Hotel | Guest Name | Price | Agent | Staff | Status |
---|---|---|---|---|---|---|---|---|---|---|---|
{{$i}} | @if($items->created == '0000-00-00' || is_null($items->created)) - @else {{date('d/m/Y', strtotime($items->created))}} @endif | @if($items->check_in == '0000-00-00' || is_null($items->check_in)) - @else {{date('d/m/Y', strtotime($items->check_in))}} @endif | @if($items->check_out == '0000-00-00' || is_null($items->check_out)) - @else {{date('d/m/Y', strtotime($items->check_out))}} @endif | @php $diffTime = (strtotime($items->check_out)) - (strtotime($items->check_in)); $diffDays = $diffTime / (60 * 60 * 24); @endphp {{ $diffDays }} | C:\xampp\htdocs\hoteline\resources\views\report\cancelreport.blade.php on line 97 " target="_blank" class="btn-show showNew" data-id="{{ $items->booking_id }}">{{$items->booking_id}} |
{{$items->hotelName}} | {{$items->first_name}} | RM {{ number_format(round((float)$items->total,0), 2) }} | {{$items->agentName}} | {{$items->staffName}} | @if($items->status == 'true') New @else {{$items->status}} @endif |
Total | RM {{ number_format(round((float)$total,0), 2) }} |