@extends('layout.default') @push('styles') @endpush @section('content')
Atualização de boletins em lote
Ano *
somente números
@include('form.select-year')
Instituição * @include('form.select-institution')
Escola @include('form.select-school')
Curso @if(old('ref_cod_curso', Request::get('ref_cod_curso'))) @push('scripts') @endpush @endif
Série @include('form.select-grade-multiple')
Modelo de boletim antigo
Deixe em branco para atualizar em todas as turmas
@if(old('old_report_card', Request::get('old_report_card'))) @push('scripts') @endpush @endif
Novo modelo de boletim
Deixe em branco para não alterar
@if(old('new_report_card', Request::get('new_report_card'))) @push('scripts') @endpush @endif
Novo modelo de boletim (diferenciado)
Deixe em branco para não alterar
@if(old('new_alternative_report_card', Request::get('new_alternative_report_card'))) @push('scripts') @endpush @endif
@if(Session::has('classrooms'))

Turmas alteradas


@isset(Session::get('classrooms')[0]['new_report']) @endisset @isset(Session::get('classrooms')[0]['new_alternative_report']) @endisset @foreach(Session::get('classrooms') as $classroom) @if(isset($classroom['new_report'])) @isset($reportCards[$classroom['old_report']]) @endisset @endif @if(isset($classroom['new_alternative_report'])) @endif @endforeach
Código da turma Nome da turmaModelo de boletim antigo Novo modelo de boletimModelo de boletim antigo (diferenciado) Novo modelo de boletim (diferenciado)
{{ $classroom['id'] }} {{ $classroom['name'] }}{!! $reportCards[$classroom['old_report']] !!}{!! $reportCards[$classroom['new_report']] !!} @isset($reportCards[$classroom['old_alternative_report']]) {!! $reportCards[$classroom['old_alternative_report']] !!} @endisset {!! $reportCards[$classroom['new_alternative_report']] !!}
@endif @if(Session::has('show-confirmation')) @endif @endsection @prepend('scripts') @endprepend