@extends('layouts.main') @section('title', 'Booking | Select Resource') @section('content')
@if (session('error'))
{{session('error')}}
@endif
@if($resources->count() > 0)

Select additional support

@foreach($resources as $resource)
has('temp-booking-resource-selection') && session()->get('temp-booking-resource-selection')==$resource->id)checked @endif @if(!$resource->available) disabled @endif>

{{$resource->fname}} {{$resource->lname}}

@if(isset($resource->resourceName->name))
{{$resource->resourceName->name}}
@endif @if($resource->description) Description
{{$resource->description}}
@endif @if(!$resource->available)

resource is booked at this time please select different time. check availability

@endif

{{$resource->resource_points}}pts

@if($resource->profile_pic) @else @endif
@endforeach
{!! $resources->withQueryString()->links('vendor.pagination.bootstrap-5') !!}
@else

Resources are not available this time.

@endif
@include('frontend.booking.booking-form')
@endsection @section('footer_scripts') @endsection