@extends('layouts.smart_report_pdf') @section('title') Smart report @endsection @section('content')
@php $count_categories=0; @endphp @foreach($data['categories'] as $category) @php $count_categories++; @endphp @foreach($category['main_tests'] as $main_test) @if(count($main_test['childs'])) @foreach($main_test['childs'] as $child) @foreach($child['results'] as $result) @endforeach @endforeach @else @endif
{{$main_test['test']['name_ar']}}
{{$main_test['test']['description_ar']}}
{{$result['component']['name_ar']}}
. .
{{-- --}}
{{$result['component']['description_ar']}}
{{$result['component']['name_ar']}}
. .
{{-- --}}
{{$result['component']['description_ar']}}
@endforeach @endforeach
@endsection