@extends('crm.master') @section('title', 'Booking Notes') @php $dateRanges = [ 'today' => 'Today', 'last_7_days' => 'Last 7 days', 'last_30_days' => 'Last 30 days', 'this_month' => 'This month', 'all' => 'All notes', 'custom' => 'Custom', ]; @endphp @section('content')

Booking Notes

{{ $label }}
Export
@if($dateRange === 'custom')
@endif
@forelse($rows as $row) @empty @endforelse
Date Booking Staff Customer Note
{{ $row->created_at?->format('m/d/y') }}
{{ $row->created_at?->format('h:i a') }}
@if($row->booking) {{ $row->booking->booking_number }} @else Deleted booking @endif {{ $row->author_name ?: 'Staff' }} {{ $row->booking?->customer_name ?: '-' }}
{{ $row->note }}
@if($row->show_on_invoice) Shown on invoice @endif
No booking notes found for the selected filters.
@if($rows->hasPages())
{{ $rows->links() }}
@endif
@endsection @section('head-extra') @endsection