@extends('layouts.sidebar') @section('title', 'Nomadic-Schedule Rental') @section('content')
@if(!empty($studio_equipments) && $studio_equipments->count()) @foreach($studio_equipments as $dt) @endforeach @else @endif
Name Category Status CheckIn Status Serial Number Price
{{$dt->name}} {{$dt->Category->cat_name}} @if($dt->status==0) Unavailable @else Available @endif @if(!is_null($dt->booking_id)) @php $givenDateTime = \Carbon\Carbon::parse($dt->checkout_date); $now = \Carbon\Carbon::now(); @endphp @if($givenDateTime->greaterThan($now)) Booked @else CheckIn Pending @endif @else Available @endif {{$dt->serial_number}} {{convertCurrency($dt->price)}} ({{session()->get('user_currency')}})     @if($dt->booking_status==1) @endif
No record found
{!! $studio_equipments->withQueryString()->links('vendor.pagination.bootstrap-5') !!}
 
@if(!empty($team) && $team->count()) @foreach($team as $dt) @endforeach @else @endif
Name Email Role Manager
{{$dt->fname}} {{$dt->lname}} {{$dt->email}} {{$dt->role_name}} {{$dt->manager_fname}} {{$dt->manager_lname}}  
No record found
{!! $team->withQueryString()->links('vendor.pagination.bootstrap-5') !!}
@endsection @section('footer_scripts') @endsection