{{-- Baris label kosong --}} @foreach ($filters['properties'] as $prop) @endforeach @foreach ($filters['properties'] as $prop) @endforeach @php $getVal = function($row, $key) { return is_array($row) ? ($row[$key] ?? '') : ($row->$key ?? ''); }; @endphp @foreach ($rows as $row) @foreach ($filters['properties'] as $p) @php $minKey = $p['name'] . '_min'; $targetKey = $p['name'] . '_target'; $maxKey = $p['name'] . '_max'; @endphp @endforeach @endforeach
Master Standard Properties - {{ $gedung }} ({{ ucfirst($warna ?? '') }})
GSM{{ $prop['label'] }}
Min Target Max
{{ $getVal($row, 'gsm') }}{{ $getVal($row, $minKey) }} {{ $getVal($row, $targetKey) }} {{ $getVal($row, $maxKey) }}