⭐ O quanto você nos recomendaria?
@for($i = 0; $i <= 10; $i++)
@endfor
😞 0 — Nunca recomendaria
10 — Com toda certeza! 😊
@error('nps_score')
{{ $message }}
@enderror
{{-- ====== SEÇÃO 2: ESTRELAS ====== --}}
🌟 Como você avalia cada aspecto?
@php
$categories = [
['key' => 'overall_rating', 'label' => '⭐ Avaliação Geral', 'required' => true],
['key' => 'rating_cleanliness', 'label' => '🧹 Limpeza', 'required' => false],
['key' => 'rating_service', 'label' => '🤝 Atendimento', 'required' => false],
['key' => 'rating_location', 'label' => '📍 Localização', 'required' => false],
['key' => 'rating_value', 'label' => '💰 Custo-Benefício', 'required' => false],
['key' => 'rating_comfort', 'label' => '🛏️ Conforto', 'required' => false],
];
@endphp
@foreach($categories as $cat)
{{ $cat['label'] }}
@if($cat['required'])*@endif
@for($s = 1; $s <= 5; $s++)
★
@endfor
@endforeach
@error('overall_rating')
{{ $message }}
@enderror
{{-- ====== SEÇÃO 3: COMENTÁRIO ====== --}}