@extends('admin.layout') @section('content')
{{ __('Time Slots') }}
@if (count($timeSlots) == 0)

{{ __('NO TIME SCHEDULE FOUND') . '!' }}

@else
@foreach ($timeSlots as $timeSlot) @php $startTime = \Carbon\Carbon::parse($timeSlot->start_time, 'UTC') ->setTimezone($time_zone) ->format($time_format); $endTime = \Carbon\Carbon::parse($timeSlot->end_time, 'UTC') ->setTimezone($time_zone) ->format($time_format); @endphp @include('admin.manage-schedule.time-slot.edit') @endforeach
{{ __('Day') }} {{ __('Start Time') }} {{ __('End Time') }} {{ __('Rent') }} ({{ $settings->base_currency_text }}) {{ __('Quantity') }} {{ __('Actions') }}
{{ __(@$timeSlot->name) }} {{$startTime }} {{ $endTime }} {{ $timeSlot->time_slot_rent != null ? $timeSlot->time_slot_rent : '--' }} {{ $timeSlot->number_of_booking ?? '--' }}
{{ __('Edit') }}
@csrf
@endif
@include('admin.manage-schedule.time-slot.create') @endsection