@forelse($saleAndHireDetails['equipment_details'] ?? [] as $index => $eq) @empty @endforelse
# Category Model Manufacturer Make Frequency RF Power Quantity Country of Origin Country of Manufacture Storage Location Technical Literature
{{ $index + 1 }} {{ ($eq['equipment_category'] ?? '') === 'Other' ? ($eq['custom_equipment_category'] ?? '') : ($eq['equipment_category'] ?? '') }} {{ ($eq['equipment_model_type'] ?? '') === 'Other' ? ($eq['custom_equipment_model_type'] ?? '') : ($eq['equipment_model_type'] ?? '') }} {{ $eq['manufacturer'] ?? '' }} {{ $eq['make'] ?? '' }}
    @php $frequencies = is_array($eq['frequency'] ?? null) ? $eq['frequency'] : json_decode($eq['frequency'] ?? '[]', true); @endphp @forelse($frequencies ?? [] as $freq)
  • • {{ $freq['value'] ?? '' }} {{ $freq['unit'] ?? '' }}
  • @empty
  • -
  • @endforelse
    @php $rfPowers = is_array($eq['rf_power'] ?? null) ? $eq['rf_power'] : json_decode($eq['rf_power'] ?? '[]', true); @endphp @forelse($rfPowers ?? [] as $power) @php $powerUnit = $power['unit'] ?? ''; if ($powerUnit === 'milliwatt') { $powerUnit = 'mW'; } if ($powerUnit === 'watt') { $powerUnit = 'Watt'; } @endphp
  • • {{ $power['value'] ?? '' }} {{ $powerUnit }}
  • @empty
  • -
  • @endforelse
{{ $eq['quantity_proposed'] ?? '' }} {{ $eq['map_origin_country']['c_country_name'] ?? '' }} {{ $eq['map_manufacturer_country']['c_country_name'] ?? '' }} @php $storageLocations = $eq['map_storage_addresses'] ?? []; @endphp @if(!empty($storageLocations))
    @foreach($storageLocations as $loc) @php $districtName = null; $districtId = $loc['district_id'] ?? null; if ($districtId && !empty($allDsitricts)) { $districtName = $allDsitricts[$districtId] ?? null; } if (!$districtName) { $districtName = $loc['district'] ?? null; } @endphp
  • {{ $loc['address'] ?? '' }} @if($districtName) ({{ $districtName }}) @endif
  • @endforeach
@else - @endif
@php $relativePath = $eq['map_files']['c_file_path'] ?? null; @endphp @if(!empty($relativePath)) @php $encryptedPath = Crypt::encryptString($relativePath); $secureFileParam = urlencode($encryptedPath); @endphp @else - @endif
No equipment records to view.