Ajouter un questionnaire
Reference ID: {{ $responseGroup->first()->reference_id }}
Check-in: {{ $carbon::create($responseGroup->first()->check_in)->format('d/m/Y') }}
Check-out: {{ $carbon::create($responseGroup->first()->check_out)->format('d/m/Y') }}
Total Price: {{ number_format($responseGroup->first()->total_price_converted ? (float) $responseGroup->first()->total_price_converted : (float) $responseGroup->first()->total_price, 2, ',', ' ') }} TND
@if(!empty($responseGroup->first()->mail))Client: {{ $responseGroup->first()->f_name }} {{ $responseGroup->first()->l_name }}
Email: {{ $responseGroup->first()->mail }}
@endifLogement: {{ $responseGroup->first()->name }}
-
@php
$sumNotes = 0;
$selectedOptions = request()->get('options', []);
$selectedQuestion = request()->get('question', []);
@endphp
@foreach($responseGroup as $response)
-
Question:
{{ __('messages.' . $response->question->question, [], $lang) }}Réponse: @if($response->option)@php $sumNotes += $response->option->note; @endphp {{ __('messages.' . $response->option->option_text, [], $lang) }}@else {{ __($response->text_response, [], $lang) }} @endif
@endforeach