{{-- resources/views/experts/show.blade.php --}} @extends('layouts.app') @section('css') @endsection @section('js') @endsection @push('pageTitle') {{ __('labels.expert_details') }} @endpush @section('content') @include('components.common.page-header', [ 'pageTitle' => __('labels.expert_details'), 'actionButton' => [ 'url' => route('experts.index'), 'text' => __('labels.back_to_list'), 'icon' => 'fa-arrow-left', ], ]) {{-- Expert Profile Card --}}
@if ($expert->designation) {{ $expert->designation }} @endif @if ($expert->company) @if ($expert->designation) @ {{ $expert->company }} @else {{ $expert->company }} @endif @endif
@endif {{-- Email from User relationship --}} @if ($expert->user && $expert->user->email){{ $expert->user->email }}
@endif {{-- Categories --}} @if ($expert->categories && $expert->categories->count() > 0)| {{ __('labels.day_of_week') }} | {{ __('labels.start_time') }} | {{ __('labels.end_time') }} | {{--{{ __('labels.status') }} | --}}
|---|---|---|---|
| @if ($schedule->day_of_week) {{ __('labels.day_names.' . strtolower($schedule->day_of_week)) }} @endif | {{ $schedule->start_time ? date('h:i A', strtotime($schedule->start_time)) : '-' }} | {{ $schedule->end_time ? date('h:i A', strtotime($schedule->end_time)) : '-' }} | {{--@if ($schedule->is_active) {{ __('labels.active') }} @else {{ __('labels.inactive') }} @endif | --}}