@php $currentDateTime = \Carbon\Carbon::now()->format('Y-m-d H:i:s'); $days = [ 'Monday' => 'Lunes', 'Tuesday' => 'Martes', 'Wednesday' => 'Miércoles', 'Thursday' => 'Jueves', 'Friday' => 'Viernes', 'Saturday' => 'Sábado', 'Sunday' => 'Domingo', ]; @endphp Nómina docentes detalle
{{ config_intranet('full_name') }}
NÓMINA DOCENTES DETALLE
FECHA DE DESCARGA: {{ $currentDateTime }}
{{-- @if ($data->total_justify !== 0) @endif @if ($data->total_classes !== 0) @endif @if ($data->total_ead !== 0) @endif --}}
Nómina: {{ $data->nom_name }}
Total Justificaciones: {{ $data->total_justify }}
Total por clase: {{ $data->total_classes }}
Total educacion a distancia: {{ $data->total_ead }}
Total: {{ $data->total_general }}
@foreach ($data->data as $teacher) {{-- Detalle de maestro --}} {{-- --}} {{-- --}}
Docente
N° empleado Apellido Paterno Apellido Materno Nombre Nombre completoCuenta bancaria CLABE Banco IMSS RFC CURPTabulador Total de horas Ganancia
{{ $teacher->no_employe }} {{ cleanup_accents($teacher->father_last_name, true, true) }} {{ cleanup_accents($teacher->mother_last_name, true, true) }} {{ cleanup_accents($teacher->name, true, true) }} {{ cleanup_accents($teacher->full_name_plain, true, true) }}="{{ $teacher->bank_account }}" ="{{ $teacher->clabe }}" {{ $teacher->bank }} {{ $teacher->imss ? $teacher->imss : 'n/a' }} {{ $teacher->rfc ? $teacher->rfc : 'n/a' }} {{ $teacher->curp ? $teacher->curp : 'n/a' }}{{ $teacher->tabulator_level }} {{ $teacher->total_hours }} {{ $teacher->nom_total }}
{{-- --}} {{-- --}}
Informacion recopilada
Horas programadas Horas impartidas Horas con falta Horas justificadas Horas TotalesPagoPago Presencial Pago de justificaciones Pagos sin justificar Pago esperado
{{ $teacher->total_hours_teacher }} {{ $teacher->punches_total_hours }} {{ abs($teacher->absence) }} {{ $teacher->justify_total_hours }} {{ $teacher->total_hours }}{{ $teacher->nom_total }} {{ $teacher->nom_total - $teacher->justify_nom_total }} {{ $teacher->justify_nom_total }} {{ $teacher->profit - $teacher->nom_total }} {{ $teacher->profit }}
@if ($teacher->showPayroll) {{-- Detalle de materias --}} @foreach ($teacher->period as $date => $detail) @foreach ($detail->classes as $schedule) @endforeach @endforeach
Presenciales
Fecha Materia Horario Entrada Salida Horas Tabulador Total Motivo de descuento
{{ $date }} {{ $schedule->class->name }} {{ $schedule->start }} - {{ $schedule->end }} {{ $schedule->in ? substr($schedule->in['check'], 11) : '--' }} - {{ $schedule->in ? $schedule->in['diff_human'] : '--' }} {{ $schedule->out ? substr($schedule->out['check'], 11) : '--' }} - {{ $schedule->out ? $schedule->out['diff_human'] : '--' }} {{ $schedule->hours_worked_compare }} @foreach ($schedule->class->curriculum->tabulators as $tab) @if ($tab->type == $teacher->tabulator_type) @switch($teacher->tabulator_level) @case('Licenciatura') {{ $tab->tabulator_degree }} @break @case('Maestría') {{ $tab->tabulator_master }} @break @case('Doctorado') {{ $tab->tabulator_doctorate }} @break @case('Especialidad') {{ $tab->tabulator_especiality }} @break @case('Diplomado') {{ $tab->tabulator_diplomate }} @break @endswitch @endif @endforeach {{ $schedule->cost }} {{ $schedule->motive_discount }}
@endif {{-- Educacion a distancia --}} @if ($teacher->showEAD) @foreach ($teacher->ead_classes as $ead) @endforeach
Educación a distancia
Carrera Materia Tipo clase Grupo No. Estudiantes Horas Tabulador Total
{{ $ead->curriculum->name }} {{ $ead->school_subject->name }} {{ $ead->class_type }} {{ $ead->group }} {{ $ead->students }} {{ $ead->hours }} {{ $ead->tabulator }} {{ $ead->total_price }}
@endif {{-- Justificaciones --}} @if ($teacher->showJustifies) @foreach ($teacher->justifies as $justify) @endforeach
Justificaciones
Categoría Clase Fecha Día Hora de clase Horas justificadas Motivo Tabulador Total
{{ $justify->category_justify }} {{ $justify->schedule->class->name ?? 'Clase inexistente' }} {{ $justify->justify_date ?? 'No disponible' }} {{ $days[$justify->schedule->day] ?? ($justify->schedule->day ?? '') }} {{ $justify->schedule->start ?? 'Clase inexistente' }} - {{ $justify->schedule->end ?? 'Clase inexistente' }} {{ $justify->hours }} {{ $justify->justifique }} {{ $justify->tabulator_amount }} {{ $justify->tabulator_amount * $justify->hours }}
@endif
@endforeach {{-- @dd() --}}