@extends('adminlte.app') @section('content')

Report Mensal

{{-- @if ($message = Session::get('success'))

{{ $message }}

@endif --}}

Questionário

Mês: {{$respostaQuestionario->reportMensal->mes}}
Parceiro: {{$posto->nome_posto}}
@csrf @php $categoria = ''; @endphp @foreach($perguntasBD as $key => $perguntas) @if($categoria != $perguntas->categoria) @php $categoria = $perguntas->categoria; @endphp
{{$perguntas->categoria}}
@endif {{-- {{dd($respostaQuestionario->respostasQuestionarioReportMensal[$key]->perguntas_report_mensal_id, $perguntas->id,$respostaQuestionario->respostasQuestionarioReportMensal[$key]->resposta,$respostaQuestionario->respostasQuestionarioReportMensal[$key]->id)}} --}} @if( !isset($perguntasBD[$key+1]->categoria) || (isset($perguntasBD[$key+1]->categoria) && $categoria != $perguntasBD[$key+1]->categoria))
Pergunta Resposta
{{$perguntas->descricao}} respostasQuestionarioReportMensal[$key]->resposta=='Sim') checked @endif value="Sim"> Sim respostasQuestionarioReportMensal[$key]->resposta=='Não') checked @endif value="Não"> Não
@endif @endforeach
Observações Importantes:

{{-- {{$respostaQuestionario->anexo}} --}} {{--
--}} @if(isset($respostaQuestionario->anexo) && $respostaQuestionario->anexo !=null)
Anexos (Fotos, Documentos, Etc)
Visualizar o Anexo @endif reportMensal->id}}> reportMensal->user_id}}>
{{--
--}}
{{-- --}} @endsection