{{-- Smart Report v2 — HTML background: semen analysis, page 1. --}} {{-- Two beige section bars + right-aligned row labels (Arabic + grey English). --}} @include('pdf.smart_report.components.backgrounds.frame', ['advice' => false]) @php $rx = '124mm'; // labels: left of a 65mm box right-aligned to 189mm $rw = '65mm'; @endphp {{-- Section bar 1: الخصائص الفيزيائية / Physical Characteristics --}}
الخصائص الفيزيائية
Physical Characteristics
{{-- Physical section row labels --}} @php $rows1 = [ ['t'=>102.63, 'ar'=>'الحجم', 'en'=>'Volume'], ['t'=>116.69, 'ar'=>'اللزوجة', 'en'=>'Viscosity'], ['t'=>130.74, 'ar'=>'رجعية الـ PH','en'=>'Reaction (pH)'], ['t'=>144.80, 'ar'=>'التمييع', 'en'=>'Liquefaction'], ['t'=>158.69, 'ar'=>'الرائحة', 'en'=>'Odor'], ['t'=>172.74, 'ar'=>'اللون', 'en'=>'Color'], ['t'=>186.80, 'ar'=>'عدد النطاف', 'en'=>'Sperm Count'], ]; @endphp @foreach ($rows1 as $r)
{{ $r['ar'] }}
{{ $r['en'] }}
@endforeach {{-- Section bar 2: الخصائص المجهرية / Microscopic Characteristics --}}
الخصائص المجهرية
Microscopic Characteristics
{{-- Microscopic section row labels --}} @php $rows2 = [ ['t'=>221.69, 'ar'=>'كريات الدم البيضاء', 'en'=>'WBCs'], ['t'=>235.23, 'ar'=>'كريات الدم الحمراء', 'en'=>'RBCs'], ['t'=>249.46, 'ar'=>'الخلايا المنوية', 'en'=>'Spermatogenic Cells'], ]; @endphp @foreach ($rows2 as $r)
{{ $r['ar'] }}
{{ $r['en'] }}
@endforeach