{{-- Shared Hotel Booking form fields. Wrapped by create.blade.php and edit.blade.php. Expects: $item (null on create), $hotels, $customers, $rooms, $statuses. --}} @php $app = $item ?? null; $checkIn = old('check_in', $app && $app->check_in ? $app->check_in->format('Y-m-d') : ''); $checkOut = old('check_out', $app && $app->check_out ? $app->check_out->format('Y-m-d') : ''); @endphp
@error('booking_no') {{ $message }} @enderror
@error('hotel_id') {{ $message }} @enderror
@error('customer_id') {{ $message }} @enderror
{{-- The agent portal shows an agent only their own production, and it finds it through this column — a stay saved without it is invisible to the agent who sold it. --}} @error('agent_id') {{ $message }} @enderror
@error('hotel_room_id') {{ $message }} @enderror
@error('guest_name') {{ $message }} @enderror
@error('check_in') {{ $message }} @enderror
@error('check_out') {{ $message }} @enderror
@error('nights') {{ $message }} @enderror
@error('amount') {{ $message }} @enderror
@error('status') {{ $message }} @enderror
{{-- Read by the receipt when the booking is marked Paid. --}}
@error('payment_method') {{ $message }} @enderror
{{ ___('label.cancel') }}
@push('scripts') @endpush