@php $currentDateTime = \Carbon\Carbon::now()->format('Y-m-d H:i:s'); @endphp {{ $title }}
{{ config_intranet('full_name') }}
REPORTE DE ESTADOS DE CUENTA
Fecha de descarga: {{ $currentDateTime }}
CICLO: {{ $cycle->name }}
@foreach ($headers as $header) @endforeach @foreach ($data as $account_state) @foreach ($account_state->billing_months as $billingMoth) @if ($billingMoth->first_month) @endif @endforeach @foreach ($account_state->billing_months as $billingMoth) @endforeach @foreach ($account_state->billing_months as $billingMoth) @endforeach {{-- @dd($account_state) --}} @endforeach
{{ $header }}
{{ $account_state->student_number }} {{ $account_state->student_full_name }} {{ $account_state->student_status }} {{ $account_state->email }} {{ $account_state->telephone }} {{ $account_state->curriculum_name }} {{ $account_state->degree_word }} {{ $account_state->cycle_name }} @if($billingMoth->reference == "inscription") Inscripción @elseif ($billingMoth->reference == "reinscription") Reinscripción @elseIf ($billingMoth->reference == "tuition") Colegiatura @endif status == 'PENDIENTE') style="background-color: red;text-align: center;" @endif> {{-- {{ $billingMoth->id }} --}} {{ $billingMoth->status }} {{-- {{ $billingMoth->id }} --}} {{ $billingMoth->tuition }} {{-- {{ $billingMoth->id }} --}} {{ $billingMoth->amount_total }} {{-- {{ $billingMoth->amount_total }} --}} {{-- {{ $billingMonths->month_name}} - --}} {{ $account_state->amount_to_charge }} {{ $account_state?->discount }} {{ $account_state?->scholarship }} {{ $account_state?->convention }} {{-- {{ $billingMonths->month_name}} - --}} {{ $account_state->expired }} {{-- {{ $billingMonths->month_name}} - --}} {{ $account_state->balance }} {{-- {{ $billingMonths->month_name}} - --}} {{ $account_state->amount_charged }}
{{-- @dd('ok') --}}