@extends('layouts.main-layout') @section('title') All Guests | Dashboard @endsection @section('content')

All Guests

@foreach($guestProfiles as $i => $guestProfile) @endforeach
# Guest Id First Name Last Name Email Telephone Create Date Actions
{{$i + $guestProfiles->firstItem()}} {{$guestProfile->GuestId}} {{$guestProfile->GuestFirstName}} {{$guestProfile->GuestLastName}} {{$guestProfile->GuestEmail}} {{$guestProfile->GuestTelephone}} {{$guestProfile->CreateDate->diffForHumans()}} @hasAccess('View Guest Profile') @endhasAccess @hasAccess('Delete Guest Profile')
@csrf @method('DELETE') {{-- @component('components.confirm',[ 'modal' => 'modal-'.$guestProfile->GuestId, 'id' => 'delete-form-'.$guestProfile->GuestId, 'title' => 'Accommodation' ]) @endcomponent --}}
@endhasAccess
{{-- {{$guestProfiles->links('vendor.pagination.default')}} --}} {{$guestProfiles->links()}}
@endsection