@php $final_input_value = 0; $final_installments_value = 0; @endphp @foreach ($registrations as $registration) @php $institution_class_with_course = $registration->institution_class_name . ' - ' . $registration->course_name @endphp @php $final_input_value += $registration->getInputValue() @endphp @php $final_installments_value += $registration->getTotalWithoutFinancialEntry() @endphp @endforeach
# Aluno(a) Celular Turma/Curso PerĂ­odo Vendedor(a) Valor Entrada Valor Parcelas
{{ $loop->iteration }} {{ $registration->student_full_name }} {{ $registration->student->cell_phone }}{{ $institution_class_with_course }} {{ $registration->full_period_translated }} {{ $registration->consultant_full_name }}R$ {{ number_format($registration->getInputValue(), 2, ',', '.') }} R$ {{ number_format($registration->getTotalWithoutFinancialEntry(), 2, ',', '.') }}
Total do PerĂ­odo: R$ {{ number_format($final_input_value, 2, ',', '.') }} R$ {{ number_format($final_installments_value, 2, ',', '.') }}