بيانات التقرير ( العقار موضع التقيم التسويات للمتر )
@php $attributeItems = collect($landEvaluation->mainAttributes ?? [])->mapWithKeys(function ($attribute) { return [ $attribute['key'] => [ 'title_ar' => $attribute['title_ar'] ?? '', 'title_en' => $attribute['title_en'] ?? '', 'value' => $attribute['value'] ?? '-', ], ]; }); @endphp @if ($attributeItems->isNotEmpty()) @foreach ($attributeItems->chunk(2) as $rowAttributes) @foreach ($rowAttributes as $attribute) @endforeach {{-- Fill empty cells if count is odd --}} @if ($rowAttributes->count() == 1) @endif @endforeach
{{ $attribute['title_ar'] }} {{ $attribute['title_en'] }} {{ $attribute['value'] }}
@endif
@php $comparisonGroups = collect($landEvaluation->comparisons ?? [])->groupBy('comparison_number'); @endphp @if ($comparisonGroups->isNotEmpty()) @foreach ($comparisonGroups as $number => $group)
المقارنة رقم {{ $number }}
{{-- 2 items per row = 4 columns --}} @foreach ($group as $comparison) @if (!$comparison->extras->isEmpty()) @foreach ($comparison->extras->chunk(2) as $items) @foreach ($items as $item) @endforeach @endforeach @endif @endforeach
{{ 'المساحة(م2)' }} {{ 'Area' }} {{ $comparison->area ?? '-' }} {{ 'سعر المتر المربع' }} {{ 'Price per square meter' }} {{ $comparison->price_per_meter ?? '-' }}
{{ 'نوع المقارنة' }} {{ 'Comparison Type' }} {{ $comparison->comparison_type ?? '-' }} {{ 'رقم الصفقة / الجوال' }} {{ 'Deal Number / Phone' }} {{ $comparison->deal_number_or_phone ?? '-' }}
{{ 'التاريخ' }} {{ 'Date' }} {{ $comparison->date ?? '-' }} {{ 'ظروف التمويل' }} {{ 'Financing Conditions' }} {{ $comparison->financing_conditions ?? '-' }}
{{ 'ظروف السوق' }} {{ 'Market Conditions' }} {{ $comparison->market_conditions ?? '-' }} {{ 'عامل الوقت' }} {{ 'Time Factor' }} {{ $comparison->time_factor ?? '-' }}
{{ 'مجموع التسويات' }} {{ 'Total Adjustments' }} {{ $comparison->total_adjustments ?? '-' }} {{ 'سعر المتر بعد التسويات' }} {{ 'Price after adjustments(m2)' }} {{ $comparison->price_after_adjustments ?? '-' }}
{{ 'الملكية' }} {{ 'Ownership' }} {{ $comparison->owner_value ?? '-' }} {{ 'النسبة' }} {{ 'Percentage' }} {{ $comparison->owner_perc ?? '-' }}
{{ $item->title_ar ?? '' }} {{ $item->title_en ?? '' }} {{ $item->value ?? '-' }}
{{ 'صافي التسويات' }} {{ 'comporises' }} {{ $comparison->net_adjustments ?? '-' }} {{ 'صافي سعر المتر بعد التسوية' }} {{ 'price after comporises (m2)' }} {{ $comparison->remaining_price_after_adjustment ?? '-' }}
{{ 'المرجح الموزون للمقارنات' }} {{ 'weighted mean' }} {{ $comparison->weighted_mean_value ?? '-' }} {{ 'النسبة' }} {{ 'Percentage' }} {{ $comparison->weighted_mean_perc ?? '-' }}
@endforeach @endif
سعر المتر المربع
بعد عمل المرجع الموزون سعر المتر بعد التقريب اجمالي قيمة الارض
{{ $landEvaluation->weighted_reference ?? '-' }} {{ $landEvaluation->price_after_rounding ?? '-' }} {{ $landEvaluation->total_land_value ?? '-' }}