@php $formattedTimeSlots = $timeSlots->map(function($slot) { $arr = $slot->toArray(); try { $arr['formatted_start_time'] = \Carbon\Carbon::parse($slot->start_time, 'Asia/Dhaka')->format('h:i A'); $arr['formatted_end_time'] = \Carbon\Carbon::parse($slot->end_time, 'Asia/Dhaka')->format('h:i A'); } catch (\Exception $e) { $arr['formatted_start_time'] = substr($slot->start_time, 0, 5); $arr['formatted_end_time'] = substr($slot->end_time, 0, 5); } return $arr; }); @endphp
Routine Time Slot For - {{$teacher->name ?? '--'}}
Select Routine Configuration
Select Configuration

Please select Routine Type, Routine Section, and Shift to view and assign time slots