@lang('lang_v1.service_staff_availability_status')

@foreach($service_staffs as $service_staff) @php $is_available = true; if(!empty($service_staff->available_at) && \Carbon::parse($service_staff->available_at)->gt(\Carbon::now()) && empty($service_staff->paused_at)) { $is_available = false; } @endphp
Profile photo

{{$service_staff->username}}

{{$service_staff->user_full_name}}

@if(!$is_available)

{{\Carbon::now()->diff(\Carbon::parse($service_staff->available_at))->format('%H:%I')}}

@lang('lang_v1.will_be_available_at') {{\Carbon::parse($service_staff->available_at)->format('H:i')}}

@elseif(!empty($service_staff->paused_at))

@lang('lang_v1.paused')

@php $is_available = false; @endphp @else

@lang('lang_v1.available')

@endif
@if(!$is_available)
paused_at)) style="position: absolute; bottom: 0;" @endif> @lang('lang_v1.mark_as_available') @if(empty($service_staff->paused_at)) @else @endif
@endif
@endforeach