@foreach($dataType->readRows as $row)
@php
if ($dataTypeContent->{$row->field.'_read'}) {
$dataTypeContent->{$row->field} = $dataTypeContent->{$row->field.'_read'};
}
@endphp
@endif @endforeach
{{ $row->getTranslatedAttribute('display_name') }}
@if (isset($row->details->view))
@include($row->details->view, ['row' => $row, 'dataType' => $dataType, 'dataTypeContent' => $dataTypeContent, 'content' => $dataTypeContent->{$row->field}, 'action' => 'read', 'view' => 'read', 'options' => $row->details])
@elseif($row->type == "image")
@elseif($row->type == 'multiple_images')
@if(json_decode($dataTypeContent->{$row->field}))
@foreach(json_decode($dataTypeContent->{$row->field}) as $file)
@endforeach
@else
@endif
@elseif($row->type == 'relationship')
@include('voyager::formfields.relationship', ['view' => 'read', 'options' => $row->details])
@elseif($row->type == 'select_dropdown' && property_exists($row->details, 'options') &&
!empty($row->details->options->{$dataTypeContent->{$row->field}})
)
Warning: Undefined variable $row in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "field" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Undefined variable $dataTypeContent in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Undefined variable $row in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "details" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "options" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
@elseif($row->type == 'select_multiple') @if(property_exists($row->details, 'relationship')) @foreach(json_decode($dataTypeContent->{$row->field}) as $item) {{ $item->{$row->field} }} @endforeach @elseif(property_exists($row->details, 'options')) @if (!empty(json_decode($dataTypeContent->{$row->field}))) @foreach(json_decode($dataTypeContent->{$row->field}) as $item) @if (@$row->details->options->{$item}) {{ $row->details->options->{$item} . (!$loop->last ? ', ' : '') }} @endif @endforeach @else {{ __('voyager::generic.none') }} @endif @endif @elseif($row->type == 'date' || $row->type == 'timestamp') @if ( property_exists($row->details, 'format') && !is_null($dataTypeContent->{$row->field}) ) {{ \Carbon\Carbon::parse($dataTypeContent->{$row->field})->formatLocalized($row->details->format) }} @else {{ $dataTypeContent->{$row->field} }} @endif @elseif($row->type == 'checkbox') @if(property_exists($row->details, 'on') && property_exists($row->details, 'off')) @if($dataTypeContent->{$row->field}) {{ $row->details->on }} @else {{ $row->details->off }} @endif @else {{ $dataTypeContent->{$row->field} }} @endif @elseif($row->type == 'color') {{ $dataTypeContent->{$row->field} }} @elseif($row->type == 'coordinates') @include('voyager::partials.coordinates') @elseif($row->type == 'rich_text_box') @include('voyager::multilingual.input-hidden-bread-read') {!! $dataTypeContent->{$row->field} !!} @elseif($row->type == 'file') @if(json_decode($dataTypeContent->{$row->field})) @foreach(json_decode($dataTypeContent->{$row->field}) as $file) {{ $file->original_name ?: '' }}
@endforeach @else {{ __('voyager::generic.download') }} @endif @else @include('voyager::multilingual.input-hidden-bread-read')
@if(!$loop->last)
Warning: Undefined variable $row in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "field" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Undefined variable $dataTypeContent in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Undefined variable $row in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "details" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "options" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
Warning: Attempt to read property "" on null in /home/khadamaty2023/public_html/dos.khadamaty.sa/resources/views/vendor/voyager/employees-requests/read.blade.php on line 190
@elseif($row->type == 'select_multiple') @if(property_exists($row->details, 'relationship')) @foreach(json_decode($dataTypeContent->{$row->field}) as $item) {{ $item->{$row->field} }} @endforeach @elseif(property_exists($row->details, 'options')) @if (!empty(json_decode($dataTypeContent->{$row->field}))) @foreach(json_decode($dataTypeContent->{$row->field}) as $item) @if (@$row->details->options->{$item}) {{ $row->details->options->{$item} . (!$loop->last ? ', ' : '') }} @endif @endforeach @else {{ __('voyager::generic.none') }} @endif @endif @elseif($row->type == 'date' || $row->type == 'timestamp') @if ( property_exists($row->details, 'format') && !is_null($dataTypeContent->{$row->field}) ) {{ \Carbon\Carbon::parse($dataTypeContent->{$row->field})->formatLocalized($row->details->format) }} @else {{ $dataTypeContent->{$row->field} }} @endif @elseif($row->type == 'checkbox') @if(property_exists($row->details, 'on') && property_exists($row->details, 'off')) @if($dataTypeContent->{$row->field}) {{ $row->details->on }} @else {{ $row->details->off }} @endif @else {{ $dataTypeContent->{$row->field} }} @endif @elseif($row->type == 'color') {{ $dataTypeContent->{$row->field} }} @elseif($row->type == 'coordinates') @include('voyager::partials.coordinates') @elseif($row->type == 'rich_text_box') @include('voyager::multilingual.input-hidden-bread-read') {!! $dataTypeContent->{$row->field} !!} @elseif($row->type == 'file') @if(json_decode($dataTypeContent->{$row->field})) @foreach(json_decode($dataTypeContent->{$row->field}) as $file) {{ $file->original_name ?: '' }}
@endforeach @else {{ __('voyager::generic.download') }} @endif @else @include('voyager::multilingual.input-hidden-bread-read')
{{ $dataTypeContent->{$row->field} }}
@endif@endif @endforeach
حالة الطلب
| قيد الانتظار |
الملف الاول
-
{{--@foreach($request_images as $image)--}}
@if(!empty(json_decode($dataTypeContent->attachments)))
- {{ json_decode($dataTypeContent->attachments)[0]->download_link }} @else {{ 'لا يوجد' }} @endif {{--@endforeach--}}
الملف الثانى
-
@if(!empty(json_decode($dataTypeContent->second_attachment)))
- {{ json_decode($dataTypeContent->second_attachment)[0]->download_link }} @else {{ 'لا يوجد' }} @endif
الملف الثالث
-
@if(!empty(json_decode($dataTypeContent->third_attachment)))
- {{ json_decode($dataTypeContent->third_attachment)[0]->download_link }} @else {{ 'لا يوجد' }} @endif
الملف الرابع
-
@if(!empty(json_decode($dataTypeContent->fourth_attachment)))
- {{ json_decode($dataTypeContent->fourth_attachment)[0]->download_link }} @else {{ 'لا يوجد' }} @endif
التعليقات
-
@include('voyager::employees-requests.viewrequestreplies',['comments','main_request'])