{!! '<' . '?xml version="1.0" encoding="UTF-8"?' . '>' !!} @foreach($properties as $property) {{ $property->code }} title }}]]> {{ strtoupper($property->property_type) }} {{ strtoupper($property->property_type) }} {{ $property->business_type === 'aluguel' ? 'Locacao' : 'Venda' }} {{ $settings['default_state'] ?? 'RJ' }} {{ $property->city }} {{ $property->neighborhood }} {{ $property->address }} {{ number_format($property->price, 2, '.', '') }} {{ number_format($property->condo_fee ?? 0, 2, '.', '') }} {{ number_format($property->tax_fee ?? 0, 2, '.', '') }} description }}]]> {{ (int) ($property->details['bedrooms'] ?? 0) }} {{ (int) ($property->details['suites'] ?? 0) }} {{ (int) ($property->details['bathrooms'] ?? 0) }} {{ (int) ($property->details['garages'] ?? 0) }} {{ (float) ($property->details['built_area'] ?? 0) }} {{ $property->property_type === 'fazenda' ? ((float) ($property->details['hectares'] ?? 0) * 10000) : (float) ($property->details['total_area'] ?? 0) }} {{ route('site.properties.show', $property->slug) }} @if($property->featured_image) capa.jpg {{ asset('storage/' . $property->featured_image) }} 1 @endif @foreach($property->images as $img) foto_{{ $loop->iteration }}.jpg {{ asset('storage/' . $img->path) }} 0 @endforeach @endforeach