File: /var/www/informe-admision/storage/framework/views/0016e3d5949c0ff2cfba6ac87cfbed6e3d232766.php
<?php $__env->startSection('contenido'); ?>
<!-- PAGE-HEADER -->
<div class="page-header d-flex align-items-center justify-content-between border-bottom mb-4">
<h1 class="page-title"><?php echo e(isset($title) ? $title : 'SIN TITULO'); ?></h1>
<div>
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="<?php echo e(route('data-uploads')); ?>">Carga de Datos</a>
</li>
<li class="breadcrumb-item active" aria-current="page"><?php echo e(isset($title) ? $title : 'SIN TITULO'); ?></li>
</ol>
</div>
</div>
<!-- PAGE-HEADER END -->
<!-- CONTAINER -->
<div class="main-container container-fluid">
<div class="row mb-3">
<div class="col-xl-12">
<div class="card p-3 border-20">
<div class="card-header bg-light">
<h5 class="text-uppercase fs-14 m-0">
<b>Resumen de Carga</b>
</h5>
</div>
<div class="card-body">
<div class="row justify-content-center">
<div class="col text-center">
<small class="text-muted">AÑO</small>
<h4 class="text-primary"><b><?php echo e($form_data->year); ?></b></h4>
</div>
<div class="col text-center">
<small class="text-muted">NIVEL</small>
<h4 class="text-primary"><b><?php echo e(!empty($form_data->level) ? $form_data->level->level : '-'); ?></b></h4>
</div>
<div class="col text-center">
<small class="text-muted">TOTAL REGISTROS</small>
<h4><b><?php echo e(format_number($form_data->quantity)); ?></b></h4>
</div>
<div class="col text-center">
<small class="text-muted">REGISTROS CORRECTOS</small>
<h4>
<span class="badge bg-success">
<?php echo e(format_number($form_data->quantity_success)); ?>
</span>
</h4>
</div>
<div class="col text-center">
<small class="text-muted">REGISTROS CON ERROR</small>
<h4>
<span class="badge bg-danger">
<?php echo e(format_number($form_data->quantity_error)); ?>
</span>
</h4>
</div>
</div>
<div class="row mt-3">
<div class="col-md-6">
<small class="text-muted">FECHA CARGA:</small>
<b><?php echo e(!empty($form_data->created_at) ? $form_data->created_at : '-'); ?></b>
</div>
<div class="col-md-6 text-end">
<a href="<?php echo e(route('data-uploads')); ?>" class="btn btn-sm btn-secondary">
<i class="fa fa-reply"></i> Volver al Listado
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="main-container container-fluid">
<div class="row">
<div class="col-xl-12">
<div class="card custom-card p-2">
<div class="card-header">
<div class="card-title text-uppercase font-14">
<b><?php echo e(isset($title_table) ? $title_table : ''); ?></b>
</div>
</div>
<div class="card-body">
<div class="table-responsive">
<div class="text-center" id="div_spinner">Cargando...<br>
<div class="d-flex justify-content-center mt-2">
<div class="spinner-border spinner-border-md" role="status">
<span class="sr-only">Cargando...</span>
</div>
</div>
</div>
<table class="table table-hover" id="table_list" hidden>
<thead class="bg-primary">
<tr class="font-13">
<th class="text-center text-white">FILA</th>
<th class="text-center text-white">ESTADO</th>
<th class="text-left text-white text-nowrap">POSTULANTE</th>
<th class="text-left text-white text-nowrap">FAMILIA</th>
<th class="text-center text-white">RUT</th>
<th class="text-center text-white">NIVEL</th>
<th class="text-center text-white">APODERADO</th>
<th class="text-left text-white">OBSERVACIÓN / ERROR</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $list_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr class="font-13">
<td class="text-center"><?php echo e($d->num_row); ?></td>
<td class="text-center font-15">
<?php if($d->load_status == 1): ?>
<span class='badge bg-success'>Válido</span>
<?php else: ?>
<span class='badge bg-danger'>Error</span>
<?php endif; ?>
</td>
<td class="text-left text-nowrap">
<?php echo e(!empty($d->applicant_father_lastname) ? $d->applicant_father_lastname : '-'); ?>
<?php echo e(!empty($d->applicant_mother_lastname) ? $d->applicant_mother_lastname : ''); ?>,
<?php echo e(!empty($d->applicant_names) ? $d->applicant_names : '-'); ?>
</td>
<td class="text-left">
<small class="text-muted">
<?php echo e(!empty($d->family_key) ? implode(' ', array_map('ucfirst', explode('-', $d->family_key))) : '-'); ?>
</small>
</td>
<td class="text-center">
<?php echo e(!empty($d->applicant_rut) ? $d->applicant_rut : '-'); ?>
</td>
<td class="text-center">
<?php echo e(!empty($form_data->level) ? $form_data->level->level : '-'); ?>
</td>
<td class="text-left text-nowrap">
<?php echo e(!empty($d->guardian_names) ? $d->guardian_names : '-'); ?>
<?php echo e(!empty($d->guardian_father_lastname) ? $d->guardian_father_lastname : ''); ?>
</td>
<td class="text-left">
<?php if($d->load_status == 0): ?>
<small class="text-danger"><?php echo e($d->error); ?></small>
<?php else: ?>
-
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js_content'); ?>
<script nonce="<?php echo e(app('csp_nonce')); ?>">
setTimeout(function() {
$("#div_spinner").html('')
$('#table_list').DataTable({
responsive: true,
"bLengthChange": false,
"language": {
"url": `<?php echo e(asset(ASSETS_JS_ADMIN)); ?>/Spanish.json`
},
order: [
[0, 'asc']
],
});
$("#table_list").attr('hidden', false);
}, 400);
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout.layout_admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/informe-admision/resources/views/admin/data_uploads/data_uploads_detail.blade.php ENDPATH**/ ?>