@php $attr_request = explode("|", $key); if(isset($attr_request[1])) { $attr_id = $attr_request[1]; $attr = \Modules\Core\Models\Attributes::where('service', 'property')->with(['terms'])->find($attr_id); } @endphp @if(isset($attr))
  • @if(isset($attr))
      @foreach($attr->terms as $term)
    • @endforeach
    @endif
  • @endif