@extends('layouts/contentNavbarLayout') @section('title', 'Guest') @section('page-style') @endsection @section('content')

Home / Guest

Guest Information
{!! Form::label('name', 'Full Name', ['class' => 'form-label']) !!} {!! Form::text('name', @$guest->name, ['class' => 'form-control', 'id' => 'name', 'placeholder' => 'john bell', 'disabled']) !!}
{!! Form::label('email', 'Email Address', ['class' => 'form-label']) !!} {!! Form::email('email', @$guest->email, ['class' => 'form-control', 'id' => 'email', 'placeholder' => 'abc@xyz.com', 'disabled']) !!}
{!! Form::label('phone_number', 'Phone Number', ['class' => 'form-label']) !!} {!! Form::tel('phone_number', @$guest->phone_number, ['class' => 'form-control', 'id' => 'phone_number', 'placeholder' => '1231231231', 'disabled']) !!}
{!! Form::label('vehicle_plate_no', 'Vehicle Plate No', ['class' => 'form-label']) !!} {!! Form::text('vehicle_plate_no', @$guest->vehicle_plate_no, ['class' => 'form-control', 'id' => 'vehicle_plate_no', 'disabled']) !!}
{!! Form::label('parking_in', 'Vehicle In Time', ['class' => 'form-label']) !!} {!! Form::input('datetime-local','parking_in', @$guest ? @$guest->parking_in : now()->format('Y-m-d\TH:i') , ['class' => 'form-control', 'id' => 'parking_in', 'disabled']) !!}
{!! Form::label('parking_out', 'Vehicle Out Time', ['class' => 'form-label']) !!} {!! Form::input('datetime-local','parking_out', @$guest ? @$guest->parking_out : "" , ['class' => 'form-control', 'id' => 'parking_out', 'disabled']) !!}
{!! Form::label('parking_hour', 'Parking Hour', ['class' => 'form-label']) !!} {!! Form::text('parking_hour', @$guest ? @$guest->parking_hour : "" , ['class' => 'form-control', 'id' => 'parking_hour', 'disabled']) !!}
{!! Form::label('amount', 'Amount', ['class' => 'form-label']) !!} {!! Form::text('amount', @$guest ? @$guest->amount : "" , ['class' => 'form-control', 'id' => 'amount', 'disabled']) !!}
{!! Form::label('referance_id', 'Referance Id', ['class' => 'form-label']) !!} {!! Form::text('referance_id', @$guest ? @$guest->referance_id : "" , ['class' => 'form-control', 'id' => 'referance_id', 'disabled']) !!}
{!! Form::label('stripe_id', 'Stripe Id', ['class' => 'form-label']) !!} {!! Form::text('stripe_id', @$guest ? @$guest->stripe_id : "" , ['class' => 'form-control', 'id' => 'stripe_id', 'disabled']) !!}
@if(@$guest->resident)
{!! Form::label('resident_id', 'Resident Details', ['class' => 'form-label']) !!} {!! Form::text('resident_id', @$guest ? @$guest->resident->name : "" , ['class' => 'form-control', 'id' => 'resident_id', 'disabled']) !!}
{!! Form::label('resident_type', 'Resident Type', ['class' => 'form-label']) !!} {!! Form::text('resident_type', @$guest ? @$guest->resident->resident_type : "" , ['class' => 'form-control', 'id' => 'resident_type', 'disabled']) !!}
{!! Form::label('building_block', 'Resident Type', ['class' => 'form-label']) !!} {!! Form::text('building_block', @$guest ? @$guest->resident->building_block : "" , ['class' => 'form-control', 'id' => 'building_block', 'disabled']) !!}
{!! Form::label('building_block', 'Resident Type', ['class' => 'form-label']) !!} {!! Form::text('building_block', @$guest ? @$guest->resident->building_block : "" , ['class' => 'form-control', 'id' => 'building_block', 'disabled']) !!}
@endif
{!! Form::label('is_reported', 'Is Reported', ['class' => 'form-label']) !!} {!! Form::text('is_reported', @$guest->is_reported == false ? "No" : "Yes" , ['class' => 'form-control', 'id' => 'is_reported', 'disabled']) !!}
{!! Form::label('guest_code', 'Guest Code', ['class' => 'form-label']) !!}
{!! Form::text('guest_code', @$guest ? @$guest->guest_code : $guest_code , ['class' => 'form-control', 'id' => 'guest_code', 'required', 'readonly']) !!}
@endsection @section('page-script') @endsection