diff --git a/app/Http/Controllers/DocumentoTipoController.php b/app/Http/Controllers/DocumentoTipoController.php new file mode 100644 index 00000000..6402e5c4 --- /dev/null +++ b/app/Http/Controllers/DocumentoTipoController.php @@ -0,0 +1,103 @@ +middleware('can:documentoTipo.index')->only('index','show'); + $this->middleware('can:documentoTipo.create')->only('create','store'); + $this->middleware('can:documentoTipo.edit')->only('edit','update'); + $this->middleware('can:documentoTipo.destroy')->only('destroy'); + } + + public function index() + { + $documentotipos=DocumentoTipo::all(); + return view('documento.index',compact('documentotipos')); + } + + + public function create() + { + $nivels = Nivel::where('status','=','1')->get(); + return view('Documento.create',compact('nivels')); + } + + /** + * Store a newly created resource in storage. + */ + public function store(Request $request) + { + $request->validate([ + 'name' => 'required', + 'slug' => 'required|unique:documento_tipos,slug', + 'extensiones' => 'required|array' + ]); + + $documentotipo=DocumentoTipo::create([ + 'name' => $request->name, + 'slug' => $request->slug, + 'extensiones' => $request->extensiones + ]); + + $documentotipo->niveles()->sync($request->nivels ?? []); + + return redirect()->route('documentotipo.edit',compact('documentotipo'))->with('info','Se creó la la documentación correctamente'); + } + + /** + * Display the specified resource. + */ + public function show(string $id) + { + // + } + + /** + * Show the form for editing the specified resource. + */ + public function edit(DocumentoTipo $documentotipo) + { + $documentotipo->load('niveles'); + $nivels = Nivel::where('status','=','1')->get(); + return view('documento.edit',compact(['documentotipo','nivels'])); + } + + /** + * Update the specified resource in storage. + */ + public function update(Request $request, DocumentoTipo $documentotipo) + { + $documentotipo->update([ + 'name' => $request->name, + 'slug' => $request->slug, + 'extensiones' => $request->extensiones + ]); + + $documentotipo->niveles()->sync($request->nivels ?? []); + + return redirect()->route('documentotipo.edit',compact('documentotipo'))->with('info','Se modificó la la documentación correctamente'); + } + + /** + * Remove the specified resource from storage. + */ + public function destroy(DocumentoTipo $documentotipo) + { + $documentotipo->niveles()->detach(); + $documentotipo->delete(); + + session()->flash('swal',[ + 'icon'=>'success', + 'title'=>'Eliminado!', + 'text'=>'Se han eliminado los registros correctamente' + ]); + return redirect()->route('documentotipo.index'); + } +} diff --git a/app/Livewire/Documentos.php b/app/Livewire/Documentos.php index d9d5b8a2..61cd1569 100644 --- a/app/Livewire/Documentos.php +++ b/app/Livewire/Documentos.php @@ -2,7 +2,6 @@ namespace App\Livewire; -use App\Models\Alumno; use Illuminate\Support\Facades\Auth; use Livewire\Attributes\On; use Livewire\Component; @@ -12,13 +11,10 @@ class Documentos extends Component { use WithFileUploads; - public $curp; - public $acta; - public $comprobante; - public $user; - + public $archivos = []; public $alumno; public $documentosPorTipo = []; + public $tiposDocumentos = []; #[On('documentos')] public function documentos() @@ -27,73 +23,76 @@ class Documentos extends Component } public function cargarDocumentos() -{ - $this->alumno = Auth::user()->alumnos()->first(); + { + $this->alumno = Auth::user() + ->alumnos() + ->with('nivelRel.documentosRequeridos') + ->first(); - if ($this->alumno) { - $this->documentosPorTipo = $this->alumno - ->documentos() - ->get() - ->keyBy('tipo'); + if ($this->alumno) { + + $this->documentosPorTipo = $this->alumno + ->documentos() + ->get() + ->keyBy('tipo'); + + $this->tiposDocumentos = $this->alumno->nivelRel + ? $this->alumno->nivelRel->documentosRequeridos + : collect(); + } } -} - public function store() { - - $this->validate([ - 'curp' => 'nullable|file|mimes:pdf,jpg,png', - 'acta' => 'nullable|file|mimes:pdf,jpg,png', - 'comprobante' => 'nullable|file|mimes:pdf,jpg,png', - ]); - - $alumno = Auth::user()->alumnos->first(); - - if (!$alumno) { + if (!$this->alumno) { abort(404, 'Alumno no encontrado'); } - $tipos = ['curp', 'acta', 'comprobante']; + $rules = []; - foreach ($tipos as $tipo) { - - if ($this->$tipo) { - - $ruta = $this->$tipo->store('documentos', 'public'); - - $alumno->documentos()->updateOrCreate( - ['tipo' => $tipo], - [ - 'archivo' => $ruta, - 'status' => 0 - ] - ); + foreach ($this->tiposDocumentos as $tipo) { + $rules["archivos.{$tipo->slug}"] = + 'nullable|file|mimes:' . implode(',', $tipo->extensiones); } - } - // 🔥 recargar correctamente - $this->cargarDocumentos(); + $this->validate($rules); - $this->reset(['curp', 'acta', 'comprobante']); + foreach ($this->tiposDocumentos as $tipo) { - $this->dispatch('close-documentos-modal'); + if (isset($this->archivos[$tipo->slug])) { - $this->dispatch('swal', - icon: 'success', - title: 'Éxito!', - text: 'Documentos cargados', - timer: 2000, - confirm: false, - closeModal: true, - reload: 2000 - ); + $ruta = $this->archivos[$tipo->slug]->store('documentos', 'public'); + + $this->alumno->documentos()->updateOrCreate( + ['tipo' => $tipo->slug], + [ + 'archivo' => $ruta, + 'status' => 0 + ] + ); + } + } + + $this->cargarDocumentos(); + + $this->reset('archivos'); + + $this->dispatch('close-documentos-modal'); + + $this->dispatch('swal', + icon: 'success', + title: 'Éxito!', + text: 'Documentos cargados', + timer: 2000, + confirm: false, + closeModal: true + ); } public function mount() -{ - $this->cargarDocumentos(); -} + { + $this->cargarDocumentos(); + } public function render() { diff --git a/app/Models/DocumentoTipo.php b/app/Models/DocumentoTipo.php new file mode 100644 index 00000000..bc5dbf1e --- /dev/null +++ b/app/Models/DocumentoTipo.php @@ -0,0 +1,25 @@ + 'array', + ]; + + public function niveles() + { + return $this->belongsToMany( + Nivel::class, + 'nivel_documento', + 'documento_tipo_id', + 'nivel_id' + ); + } +} diff --git a/app/Models/Nivel.php b/app/Models/Nivel.php index 4cb3a5ea..a62e496a 100644 --- a/app/Models/Nivel.php +++ b/app/Models/Nivel.php @@ -32,4 +32,14 @@ class Nivel extends Model ->wherePivot('plantel_id', $plantelId) ->exists(); } + + public function documentosRequeridos() + { + return $this->belongsToMany( + DocumentoTipo::class, + 'nivel_documento', + 'nivel_id', + 'documento_tipo_id' + ); + } } diff --git a/database/migrations/2026_03_27_121048_create_documento_tipos_table.php b/database/migrations/2026_03_27_121048_create_documento_tipos_table.php new file mode 100644 index 00000000..78121163 --- /dev/null +++ b/database/migrations/2026_03_27_121048_create_documento_tipos_table.php @@ -0,0 +1,29 @@ +id(); + $table->string('name'); + $table->string('slug')->unique(); + $table->json('extensiones')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('documento_tipos'); + } +}; diff --git a/database/migrations/2026_03_27_121512_create_nivel_documento_table.php b/database/migrations/2026_03_27_121512_create_nivel_documento_table.php new file mode 100644 index 00000000..b863d3c9 --- /dev/null +++ b/database/migrations/2026_03_27_121512_create_nivel_documento_table.php @@ -0,0 +1,29 @@ +unsignedBigInteger('documento_tipo_id'); + $table->foreign('documento_tipo_id')->references('id')->on('documento_tipos'); + $table->unsignedBigInteger('nivel_id'); + $table->foreign('nivel_id')->references('id')->on('nivels'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('nivel_documento'); + } +}; diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index ac28212c..47fbdecd 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -28,5 +28,6 @@ class DatabaseSeeder extends Seeder $this->call(ConceptoSeeder::class); $this->call(MaterialSeeder::class); $this->call(GrupoSeeder::class); + $this->call(DocumentoTipoSeeder::class); } } diff --git a/database/seeders/DocumentoTipoSeeder.php b/database/seeders/DocumentoTipoSeeder.php new file mode 100644 index 00000000..58ddebfe --- /dev/null +++ b/database/seeders/DocumentoTipoSeeder.php @@ -0,0 +1,24 @@ + 'CURP', 'slug' => 'curp','extensiones' => json_encode(['pdf'])], + ['name' => 'Acta de nacimiento', 'slug' => 'acta','extensiones' => json_encode(['pdf'])], + ['name' => 'Comprobante de domicilio', 'slug' => 'comprobante','extensiones' => json_encode(['pdf'])], + ['name' => 'Certificado secundaria', 'slug' => 'certificado_secundaria','extensiones' => json_encode(['pdf'])], + ['name' => 'Certificado preparatoria', 'slug' => 'certificado_prepa','extensiones' => json_encode(['pdf'])], + ['name' => 'Certificado licenciatura', 'slug' => 'certificado_licenciatura','extensiones' => json_encode(['pdf'])], + ['name' => 'Identificación oficial', 'slug' => 'ine','extensiones' => json_encode(['pdf'])], + ['name' => 'Certificado médico', 'slug' => 'certificado_medico','extensiones' => json_encode(['pdf'])], + ]); +} +} diff --git a/database/seeders/RoleSeeder.php b/database/seeders/RoleSeeder.php index 2b4937d2..fe799b0d 100644 --- a/database/seeders/RoleSeeder.php +++ b/database/seeders/RoleSeeder.php @@ -135,5 +135,10 @@ class RoleSeeder extends Seeder Permission::create(['name'=>'docente.create','description'=>'Crear docentes'])->syncRoles([$role1,$role6]); Permission::create(['name'=>'docente.edit','description'=>'Editar docentes'])->syncRoles([$role1,$role6]); Permission::create(['name'=>'docente.destroy','description'=>'Eliminar docentes'])->syncRoles([$role1,$role6]); + + Permission::create(['name'=>'documentoTipo.index','description'=>'Ver documentos por nivel'])->syncRoles([$role1]); + Permission::create(['name'=>'documentoTipo.create','description'=>'Crear documentos por nivel'])->syncRoles([$role1]); + Permission::create(['name'=>'documentoTipo.edit','description'=>'Editar documentos por nivel'])->syncRoles([$role1]); + Permission::create(['name'=>'documentoTipo.destroy','description'=>'Eliminar documentos por nivel'])->syncRoles([$role1]); } } diff --git a/resources/views/Documento/create.blade.php b/resources/views/Documento/create.blade.php new file mode 100644 index 00000000..c1efb641 --- /dev/null +++ b/resources/views/Documento/create.blade.php @@ -0,0 +1,93 @@ +@extends('layouts.landing') + +@section('title',"Crear") + +@section('content') + +
+
+
+
+
Crear documentación
+ Regresar +
+
+ +
+ +

Crear tipo de documento

+ + @if(session('success')) +
+ {{ session('success') }} +
+ @endif + +
+ @csrf + + {{-- NOMBRE --}} +
+ + +
+ + {{-- SLUG --}} +
+ + +
+ + {{-- EXTENSIONES --}} +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ + + @foreach ($nivels as $nivel) +
+ + +
+ @endforeach +
+ + + +
+ +
+
+
+ +@endsection diff --git a/resources/views/Documento/edit.blade.php b/resources/views/Documento/edit.blade.php new file mode 100644 index 00000000..032f6213 --- /dev/null +++ b/resources/views/Documento/edit.blade.php @@ -0,0 +1,87 @@ +@extends('layouts.landing') + +@section('title',"Edit") + +@section('content') + +
+
+
+
+
Editar documentación
+ Regresar +
+
+ +
+ @if (session('info')) +
+ {{session('info')}} +
+ @endif +
+ @method('PUT') + @csrf + {{-- NOMBRE --}} +
+ + +
+ + {{-- SLUG --}} +
+ + +
+ + {{-- EXTENSIONES --}} +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ + + @foreach ($nivels as $nivel) +
+ niveles->contains($nivel->id) ? 'checked' : '' }} + > + +
+ @endforeach +
+ +
+
+
+
+ +@endsection diff --git a/resources/views/Documento/index.blade.php b/resources/views/Documento/index.blade.php new file mode 100644 index 00000000..8f75921c --- /dev/null +++ b/resources/views/Documento/index.blade.php @@ -0,0 +1,70 @@ +@extends('layouts.landing') + +@section('head') + @include('layouts._partials.tablaStyle') +@endsection +@section('title',"Inicio") + +@section('content') + +
+
+
+
+
Documentación
+ @can('documentoTipo.create') + Crear documentación + @endcan +
+
+ +
+
+ + + + + + + + + + @forelse ($documentotipos as $row) + + + + + + @empty +

Sin documentación.

+ @endforelse + + +
IdNombrerow
{{$row->id}}{{$row->name}} + @can('documentoTipo.edit') + + @endcan + + @can('documentoTipo.destroy') +
+
+ @csrf + @method('DELETE') + +
+
+ @endcan + +
+
+
+
+
+ +@endsection + + +@section('scripts') + @include('layouts._partials.tablaScript') + @include('layouts._partials.delete') +@endsection diff --git a/resources/views/layouts/_partials/menu.blade.php b/resources/views/layouts/_partials/menu.blade.php index 8571457a..4aa542e1 100644 --- a/resources/views/layouts/_partials/menu.blade.php +++ b/resources/views/layouts/_partials/menu.blade.php @@ -54,6 +54,10 @@ Niveles @endcan + @can('documentoTipo.index') + Documentación + @endcan + @can('permission.index') Permisos @endcan diff --git a/resources/views/livewire/data-prospecto.blade.php b/resources/views/livewire/data-prospecto.blade.php index 94d05919..ad0cbfd8 100644 --- a/resources/views/livewire/data-prospecto.blade.php +++ b/resources/views/livewire/data-prospecto.blade.php @@ -199,17 +199,23 @@
Expediente del alumno
@php - $tipos = ['curp', 'acta', 'comprobante','certificadoPrepa','certificadoLicenciatura']; + $nivel = $prospecto->nivelRel ?? null; + + $tipos = $nivel + ? $nivel->documentosRequeridos + : collect(); + $documentos = collect($prospecto?->documentos)->keyBy('tipo'); @endphp @foreach($tipos as $tipo) - @php - $doc = $documentos[$tipo] ?? null; - @endphp + + @php + $doc = $documentos[$tipo->slug] ?? null; + @endphp
- {{ strtoupper($tipo) }} : + {{ strtoupper($tipo->name) }} : @if($doc) @@ -239,6 +245,8 @@ @endforeach
+ + @else diff --git a/resources/views/livewire/documentos.blade.php b/resources/views/livewire/documentos.blade.php index f2b02ee1..3a274f53 100644 --- a/resources/views/livewire/documentos.blade.php +++ b/resources/views/livewire/documentos.blade.php @@ -1,3 +1,43 @@ +
+ +
+ +@foreach($tiposDocumentos as $tipo) + + @php + $doc = $documentosPorTipo[$tipo->slug] ?? null; + @endphp + +
+ {{ strtoupper($tipo->name) }} : + + @if($doc) + + @if($doc->status == 1) + ✔ Validado + @elseif($doc->status == 2) + ✘ Rechazado + @else + Pendiente + @endif + + + + @else + ✘ Faltante + @endif + +
+ +@endforeach + +
+
+ + + diff --git a/resources/views/profile/show.blade.php b/resources/views/profile/show.blade.php index e2323858..8a8880b8 100644 --- a/resources/views/profile/show.blade.php +++ b/resources/views/profile/show.blade.php @@ -39,45 +39,6 @@
Expediente
- @php - $tipos = ['curp', 'acta', 'comprobante']; - $alumno = Auth::user()->alumnos()->first(); - @endphp - - @foreach($tipos as $tipo) - @php - $doc = $alumno?->documentos->firstWhere('tipo', $tipo); - @endphp - -
- {{ strtoupper($tipo) }} : - - @if($doc) - - @if($doc->status == 1) - ✔ Validado - - @elseif($doc->status == 2) - ❌ Rechazado - - @else - Pendiente de revision - @endif - -
- - - - @else - ❌ Faltante - @endif - -
- @endforeach
diff --git a/routes/web.php b/routes/web.php index 2cecea17..b0292cd1 100644 --- a/routes/web.php +++ b/routes/web.php @@ -10,6 +10,7 @@ use App\Http\Controllers\ChatController; use App\Http\Controllers\CodeController; use App\Http\Controllers\ConceptoController; use App\Http\Controllers\DocumentoController; +use App\Http\Controllers\DocumentoTipoController; use App\Http\Controllers\DurationController; use App\Http\Controllers\GrupoController; use App\Http\Controllers\HorarioController; @@ -59,7 +60,8 @@ Route::middleware(['auth:sanctum',config('jetstream.auth_session'),'verified', Route::post('/chat/stop-typing', function (Request $request) {broadcast(new \App\Events\UserStoppedTyping($request->conversation_id,auth()->user()))->toOthers();return response()->json();}); Route::resource('/documento',DocumentoController::class); Route::get('/documento/ver/{id}', function ($id) { $doc = Documento::findOrFail($id); $alumno = auth()->user()->alumnos()->first(); if (!$alumno || $doc->alumno_id !== $alumno->id) { abort(403); } return response()->file( storage_path('app/public/'.$doc->archivo) ); }); - Route::get('documento/ver/{id}', [DocumentoController::class, 'ver'])->name('documento.ver'); + Route::get('/documento/ver/{id}', [DocumentoController::class, 'ver'])->name('documento.ver'); + Route::resource('/documentotipo',DocumentoTipoController::class); Route::resource('/duration',DurationController::class); Route::resource('/grupo', GrupoController::class); Route::get('/horario', [HorarioController::class, 'index'])->name('horario.index'); diff --git a/storage/app/private/livewire-tmp/aCH2Jqc1vPzpvTa0Hf6Da1fv8oatvt-metaVEVQRUpJODAuanBn-.jpg b/storage/app/private/livewire-tmp/1t0vwRBrUzIzaYEXcZUxCPwF8NKB79-metaVEVQRUpJODAuanBn-.jpg similarity index 100% rename from storage/app/private/livewire-tmp/aCH2Jqc1vPzpvTa0Hf6Da1fv8oatvt-metaVEVQRUpJODAuanBn-.jpg rename to storage/app/private/livewire-tmp/1t0vwRBrUzIzaYEXcZUxCPwF8NKB79-metaVEVQRUpJODAuanBn-.jpg diff --git a/storage/app/private/livewire-tmp/FbaJXgmLYdioVLvY2NtPIbXBHnbgcH-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf b/storage/app/private/livewire-tmp/23vYexKjQLodhrXtaNK3hqGChPZ9Yb-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf similarity index 100% rename from storage/app/private/livewire-tmp/FbaJXgmLYdioVLvY2NtPIbXBHnbgcH-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf rename to storage/app/private/livewire-tmp/23vYexKjQLodhrXtaNK3hqGChPZ9Yb-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf diff --git a/storage/app/private/livewire-tmp/PCmGnnnbANuLNngC4AyRKX8fOh3gHI-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf b/storage/app/private/livewire-tmp/2ZuEaKday7SQacdNLudPCZj7QpraXy-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf similarity index 100% rename from storage/app/private/livewire-tmp/PCmGnnnbANuLNngC4AyRKX8fOh3gHI-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf rename to storage/app/private/livewire-tmp/2ZuEaKday7SQacdNLudPCZj7QpraXy-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf diff --git a/storage/app/private/livewire-tmp/3w8cc1bdAKI5kOfNzVEAd4MBPyHGb6-metaY3JlZGVuY2lhbCBpbnN0aXR1Y2lvbmFsLnBkZg==-.pdf b/storage/app/private/livewire-tmp/3w8cc1bdAKI5kOfNzVEAd4MBPyHGb6-metaY3JlZGVuY2lhbCBpbnN0aXR1Y2lvbmFsLnBkZg==-.pdf deleted file mode 100644 index 47c4a9f7..00000000 Binary files a/storage/app/private/livewire-tmp/3w8cc1bdAKI5kOfNzVEAd4MBPyHGb6-metaY3JlZGVuY2lhbCBpbnN0aXR1Y2lvbmFsLnBkZg==-.pdf and /dev/null differ diff --git a/storage/app/private/livewire-tmp/J0Lp8bp0d7SIu4bjIqKwMWY0PwzZHJ-metaU0pSODAuanBn-.jpg b/storage/app/private/livewire-tmp/7fBgnUyTyzlrSkuvdkdxEK391G0Sce-metaU0pSODAuanBn-.jpg similarity index 100% rename from storage/app/private/livewire-tmp/J0Lp8bp0d7SIu4bjIqKwMWY0PwzZHJ-metaU0pSODAuanBn-.jpg rename to storage/app/private/livewire-tmp/7fBgnUyTyzlrSkuvdkdxEK391G0Sce-metaU0pSODAuanBn-.jpg diff --git a/storage/app/private/livewire-tmp/DXnaHZ7v6IXp1q3Dc7Xb00HLzbt6dA-metaU0VDVUlFUC5wZGY=-.pdf b/storage/app/private/livewire-tmp/DXnaHZ7v6IXp1q3Dc7Xb00HLzbt6dA-metaU0VDVUlFUC5wZGY=-.pdf new file mode 100644 index 00000000..564223b6 Binary files /dev/null and b/storage/app/private/livewire-tmp/DXnaHZ7v6IXp1q3Dc7Xb00HLzbt6dA-metaU0VDVUlFUC5wZGY=-.pdf differ diff --git a/storage/app/private/livewire-tmp/GCui983U4pYKWG5Ed4rmQhIOylNs2c-metaUmVjaWJvcyAoMSkucGRm-.pdf b/storage/app/private/livewire-tmp/GCui983U4pYKWG5Ed4rmQhIOylNs2c-metaUmVjaWJvcyAoMSkucGRm-.pdf new file mode 100644 index 00000000..e954d85f Binary files /dev/null and b/storage/app/private/livewire-tmp/GCui983U4pYKWG5Ed4rmQhIOylNs2c-metaUmVjaWJvcyAoMSkucGRm-.pdf differ diff --git a/storage/app/private/livewire-tmp/f2LFxB7cpuMtLPgU0SCXYm3tcdKjfE-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf b/storage/app/private/livewire-tmp/HZH2ACfSFnG3vpNY1v9kauhLowWBtZ-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf similarity index 100% rename from storage/app/private/livewire-tmp/f2LFxB7cpuMtLPgU0SCXYm3tcdKjfE-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf rename to storage/app/private/livewire-tmp/HZH2ACfSFnG3vpNY1v9kauhLowWBtZ-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf diff --git a/storage/app/private/livewire-tmp/lzXTooq5BSqrN3stzK1QooiTPNAC8M-metaU0pSODAuanBn-.jpg b/storage/app/private/livewire-tmp/RQ6kBpvayK96YI4ynT5nH59dO1y75o-metaU0pSODAuanBn-.jpg similarity index 100% rename from storage/app/private/livewire-tmp/lzXTooq5BSqrN3stzK1QooiTPNAC8M-metaU0pSODAuanBn-.jpg rename to storage/app/private/livewire-tmp/RQ6kBpvayK96YI4ynT5nH59dO1y75o-metaU0pSODAuanBn-.jpg diff --git a/storage/app/private/livewire-tmp/YjpvB47O5687LR1u9psNxT4t2cE4bG-metaMzkzNzcwOTY5OS5wZGY=-.pdf b/storage/app/private/livewire-tmp/YjpvB47O5687LR1u9psNxT4t2cE4bG-metaMzkzNzcwOTY5OS5wZGY=-.pdf new file mode 100644 index 00000000..b80fd92c Binary files /dev/null and b/storage/app/private/livewire-tmp/YjpvB47O5687LR1u9psNxT4t2cE4bG-metaMzkzNzcwOTY5OS5wZGY=-.pdf differ diff --git a/storage/app/private/livewire-tmp/enXLB2pwG3QDuqd1iJmUMeTBExyNtM-metaRU5UUkVHQSBFUVVJUE9TIERFU0FSUk9MTE8gV0VCIElOU1RJVFVDSU9OQUwucGRm-.pdf b/storage/app/private/livewire-tmp/enXLB2pwG3QDuqd1iJmUMeTBExyNtM-metaRU5UUkVHQSBFUVVJUE9TIERFU0FSUk9MTE8gV0VCIElOU1RJVFVDSU9OQUwucGRm-.pdf deleted file mode 100644 index 1ef250bc..00000000 Binary files a/storage/app/private/livewire-tmp/enXLB2pwG3QDuqd1iJmUMeTBExyNtM-metaRU5UUkVHQSBFUVVJUE9TIERFU0FSUk9MTE8gV0VCIElOU1RJVFVDSU9OQUwucGRm-.pdf and /dev/null differ diff --git a/storage/app/private/livewire-tmp/fFoVoHmWIOnP3AGjFVz3RmSdlQaiDo-metaVEVQRUpJODAuanBn-.jpg b/storage/app/private/livewire-tmp/fFoVoHmWIOnP3AGjFVz3RmSdlQaiDo-metaVEVQRUpJODAuanBn-.jpg deleted file mode 100644 index ab5889da..00000000 Binary files a/storage/app/private/livewire-tmp/fFoVoHmWIOnP3AGjFVz3RmSdlQaiDo-metaVEVQRUpJODAuanBn-.jpg and /dev/null differ diff --git a/storage/app/private/livewire-tmp/h4R6T5GONUXUb7nOza2l8IOdVuJZ1k-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf b/storage/app/private/livewire-tmp/ibysLjiDDuQOa8pPvUT60FCI91DHFh-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf similarity index 100% rename from storage/app/private/livewire-tmp/h4R6T5GONUXUb7nOza2l8IOdVuJZ1k-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf rename to storage/app/private/livewire-tmp/ibysLjiDDuQOa8pPvUT60FCI91DHFh-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf diff --git a/storage/app/private/livewire-tmp/spHDZaY78RGTxM1JjdDximl30xxV9g-metaRU5UUkVHQSBFUVVJUE9TIERFU0FSUk9MTE8gV0VCIElOU1RJVFVDSU9OQUwucGRm-.pdf b/storage/app/private/livewire-tmp/spHDZaY78RGTxM1JjdDximl30xxV9g-metaRU5UUkVHQSBFUVVJUE9TIERFU0FSUk9MTE8gV0VCIElOU1RJVFVDSU9OQUwucGRm-.pdf deleted file mode 100644 index 1ef250bc..00000000 Binary files a/storage/app/private/livewire-tmp/spHDZaY78RGTxM1JjdDximl30xxV9g-metaRU5UUkVHQSBFUVVJUE9TIERFU0FSUk9MTE8gV0VCIElOU1RJVFVDSU9OQUwucGRm-.pdf and /dev/null differ diff --git a/storage/app/private/livewire-tmp/k8j8eQ0DcVhx3aE6wiUT1R6SEwyJp1-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf b/storage/app/private/livewire-tmp/t33eMpXzOQkYaIX9xLnNI8vyzDKEk3-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf similarity index 100% rename from storage/app/private/livewire-tmp/k8j8eQ0DcVhx3aE6wiUT1R6SEwyJp1-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf rename to storage/app/private/livewire-tmp/t33eMpXzOQkYaIX9xLnNI8vyzDKEk3-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf diff --git a/storage/app/private/livewire-tmp/vACK69uxA9ygyCl8HioRWdqvpX3hus-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf b/storage/app/private/livewire-tmp/vACK69uxA9ygyCl8HioRWdqvpX3hus-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf new file mode 100644 index 00000000..db90507e Binary files /dev/null and b/storage/app/private/livewire-tmp/vACK69uxA9ygyCl8HioRWdqvpX3hus-metadmFjYWNpb25lcyBhYnJpbC5wZGY=-.pdf differ diff --git a/storage/app/private/livewire-tmp/vk3MRKNyDyKCV8VPMCTpxRUQ3Q1OuW-metabnV0cmljaW9uLmpwZWc=-.jpeg b/storage/app/private/livewire-tmp/vo5a5w1zxo8u2CnZK3RDoruhBR4gxE-metabnV0cmljaW9uLmpwZWc=-.jpeg similarity index 100% rename from storage/app/private/livewire-tmp/vk3MRKNyDyKCV8VPMCTpxRUQ3Q1OuW-metabnV0cmljaW9uLmpwZWc=-.jpeg rename to storage/app/private/livewire-tmp/vo5a5w1zxo8u2CnZK3RDoruhBR4gxE-metabnV0cmljaW9uLmpwZWc=-.jpeg diff --git a/storage/app/private/livewire-tmp/tMkqHAO07H4fOJklUZHSGY9Txe1TtX-metaU0pSODAuanBn-.jpg b/storage/app/private/livewire-tmp/xJa6k9URJ0Hed4OSwuNH2i4DGHnFUd-metaU0pSODAuanBn-.jpg similarity index 100% rename from storage/app/private/livewire-tmp/tMkqHAO07H4fOJklUZHSGY9Txe1TtX-metaU0pSODAuanBn-.jpg rename to storage/app/private/livewire-tmp/xJa6k9URJ0Hed4OSwuNH2i4DGHnFUd-metaU0pSODAuanBn-.jpg diff --git a/storage/app/private/livewire-tmp/8ucRgccVnt4OxqR7JaKCKOXCdUDbEJ-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf b/storage/app/private/livewire-tmp/xfZyfsi89ydASQxRzvsmZyuhIXLNAm-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf similarity index 100% rename from storage/app/private/livewire-tmp/8ucRgccVnt4OxqR7JaKCKOXCdUDbEJ-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf rename to storage/app/private/livewire-tmp/xfZyfsi89ydASQxRzvsmZyuhIXLNAm-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf diff --git a/storage/app/private/livewire-tmp/xhcwzf2qesUlFCdptBV5owIA0VJD3k-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf b/storage/app/private/livewire-tmp/xhcwzf2qesUlFCdptBV5owIA0VJD3k-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf deleted file mode 100644 index ad02cb42..00000000 Binary files a/storage/app/private/livewire-tmp/xhcwzf2qesUlFCdptBV5owIA0VJD3k-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf and /dev/null differ diff --git a/storage/app/public/documentos/CzSRBRLvnVNSzxPIjxaC7XlFn7NsbyRqgv7SArXk.pdf b/storage/app/public/documentos/CzSRBRLvnVNSzxPIjxaC7XlFn7NsbyRqgv7SArXk.pdf new file mode 100644 index 00000000..db90507e Binary files /dev/null and b/storage/app/public/documentos/CzSRBRLvnVNSzxPIjxaC7XlFn7NsbyRqgv7SArXk.pdf differ diff --git a/storage/app/public/documentos/IufT2X98nPqouSiphXxQjjuLJVi4OVkl9QKRxwr4.pdf b/storage/app/public/documentos/IufT2X98nPqouSiphXxQjjuLJVi4OVkl9QKRxwr4.pdf new file mode 100644 index 00000000..db90507e Binary files /dev/null and b/storage/app/public/documentos/IufT2X98nPqouSiphXxQjjuLJVi4OVkl9QKRxwr4.pdf differ diff --git a/storage/app/public/documentos/LZE5jd58tW1eU6WmbMAtUQnc8wUDj5Blqv7WI9Gv.pdf b/storage/app/public/documentos/LZE5jd58tW1eU6WmbMAtUQnc8wUDj5Blqv7WI9Gv.pdf new file mode 100644 index 00000000..b80fd92c Binary files /dev/null and b/storage/app/public/documentos/LZE5jd58tW1eU6WmbMAtUQnc8wUDj5Blqv7WI9Gv.pdf differ diff --git a/storage/app/public/documentos/PXFfmFP4QBtbsLBjxEIGI3bfRKvpvlqbe4b5UkOJ.pdf b/storage/app/public/documentos/PXFfmFP4QBtbsLBjxEIGI3bfRKvpvlqbe4b5UkOJ.pdf new file mode 100644 index 00000000..db90507e Binary files /dev/null and b/storage/app/public/documentos/PXFfmFP4QBtbsLBjxEIGI3bfRKvpvlqbe4b5UkOJ.pdf differ diff --git a/storage/app/public/documentos/dFrgNnFPwuXRcNSSghwisQkk1bJXG8F0atCwxub1.pdf b/storage/app/public/documentos/dFrgNnFPwuXRcNSSghwisQkk1bJXG8F0atCwxub1.pdf new file mode 100644 index 00000000..564223b6 Binary files /dev/null and b/storage/app/public/documentos/dFrgNnFPwuXRcNSSghwisQkk1bJXG8F0atCwxub1.pdf differ diff --git a/storage/app/public/documentos/elBdoJPYI55AlnK9AS9Stz65106YUavPEITLlkGv.jpg b/storage/app/public/documentos/elBdoJPYI55AlnK9AS9Stz65106YUavPEITLlkGv.jpg new file mode 100644 index 00000000..0fb7caba Binary files /dev/null and b/storage/app/public/documentos/elBdoJPYI55AlnK9AS9Stz65106YUavPEITLlkGv.jpg differ diff --git a/storage/app/private/livewire-tmp/dY8QzgqXkmpmwAViedfF98WKDg1bRi-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf b/storage/app/public/documentos/mdLPcpSaD9lbTvNEu4bVSnawtTShxGrEx3Nx4zrR.pdf similarity index 100% rename from storage/app/private/livewire-tmp/dY8QzgqXkmpmwAViedfF98WKDg1bRi-metaU0tNXzM2OGUgSUIyNjAzMjQwOTMwMC5wZGY=-.pdf rename to storage/app/public/documentos/mdLPcpSaD9lbTvNEu4bVSnawtTShxGrEx3Nx4zrR.pdf diff --git a/storage/app/public/documentos/oHKlrGmLQgNmIzLmZduFJd60wlxUksJMyoZYn2ka.pdf b/storage/app/public/documentos/oHKlrGmLQgNmIzLmZduFJd60wlxUksJMyoZYn2ka.pdf new file mode 100644 index 00000000..db90507e Binary files /dev/null and b/storage/app/public/documentos/oHKlrGmLQgNmIzLmZduFJd60wlxUksJMyoZYn2ka.pdf differ diff --git a/storage/app/public/documentos/xh15DWHYlvYC1nMuTu7DXJG4TDXYYn1CMUDbTEIZ.pdf b/storage/app/public/documentos/xh15DWHYlvYC1nMuTu7DXJG4TDXYYn1CMUDbTEIZ.pdf new file mode 100644 index 00000000..e954d85f Binary files /dev/null and b/storage/app/public/documentos/xh15DWHYlvYC1nMuTu7DXJG4TDXYYn1CMUDbTEIZ.pdf differ diff --git a/storage/framework/views/0a3dca17bd21f9df4e2767204910fa1d.php b/storage/framework/views/0a3dca17bd21f9df4e2767204910fa1d.php index 412be037..74213d68 100644 --- a/storage/framework/views/0a3dca17bd21f9df4e2767204910fa1d.php +++ b/storage/framework/views/0a3dca17bd21f9df4e2767204910fa1d.php @@ -203,17 +203,23 @@
Expediente del alumno
nivelRel ?? null; + + $tipos = $nivel + ? $nivel->documentosRequeridos + : collect(); + $documentos = collect($prospecto?->documentos)->keyBy('tipo'); ?> addLoop($__currentLoopData); foreach($__currentLoopData as $tipo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - + + slug] ?? null; + ?>
- : + name)); ?> : @@ -243,6 +249,8 @@ popLoop(); $loop = $__env->getLastLoop(); ?>
+ + diff --git a/storage/framework/views/0ded3b646969e4fe58a276172a276306.php b/storage/framework/views/0ded3b646969e4fe58a276172a276306.php new file mode 100644 index 00000000..519aca0e --- /dev/null +++ b/storage/framework/views/0ded3b646969e4fe58a276172a276306.php @@ -0,0 +1,29 @@ +startSection('head'); ?> + make('layouts._partials.tablaStyle', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> +stopSection(); ?> +startSection('title',"Inicio"); ?> + +startSection('content'); ?> + +
+
+
+
+
Documentos
+
+
+ +
+
+ +

Configuración de niveles

+ + +
+
+
+
+ +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/2bbe6bf120dab2eb30d6296a2ad3d2c5.php b/storage/framework/views/2bbe6bf120dab2eb30d6296a2ad3d2c5.php new file mode 100644 index 00000000..f0641443 --- /dev/null +++ b/storage/framework/views/2bbe6bf120dab2eb30d6296a2ad3d2c5.php @@ -0,0 +1,61 @@ +startSection('title',"Edit"); ?> + +startSection('content'); ?> + +
+
+
+
+
Editar nivel
+ Regresar +
+
+ +
+ +
+ +
+ +
+ + +
+ + +
+ +
+ + + addLoop($__currentLoopData); foreach($__currentLoopData as $plantel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> +
+ existe($plantel->id) ? 'checked' : ''); ?> + + > + +
+ popLoop(); $loop = $__env->getLastLoop(); ?> +
+
+ + +
+ +
+
+
+
+ +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/43bcbd6840547db197f7b0e8bcd2b03b.php b/storage/framework/views/43bcbd6840547db197f7b0e8bcd2b03b.php new file mode 100644 index 00000000..c5578f44 --- /dev/null +++ b/storage/framework/views/43bcbd6840547db197f7b0e8bcd2b03b.php @@ -0,0 +1,70 @@ +startSection('head'); ?> + make('layouts._partials.tablaStyle', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> +stopSection(); ?> +startSection('title',"Inicio"); ?> + +startSection('content'); ?> + +
+
+
+
+
Documentación
+ check('documentoTipo.create')): ?> + Crear documentación + +
+
+ +
+
+ + + + + + + + + + addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> + + + + + + popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> +

Sin documentación.

+ + + +
IdNombrerow
id); ?>name); ?> + check('documentoTipo.edit')): ?> + + + + check('documentoTipo.destroy')): ?> +
+
+ + + +
+
+ + +
+
+
+
+
+ +stopSection(); ?> + + +startSection('scripts'); ?> + make('layouts._partials.tablaScript', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> + make('layouts._partials.delete', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/53e07bb5896047aa7c42ce2527f81283.php b/storage/framework/views/53e07bb5896047aa7c42ce2527f81283.php index 91360320..45bb6522 100644 --- a/storage/framework/views/53e07bb5896047aa7c42ce2527f81283.php +++ b/storage/framework/views/53e07bb5896047aa7c42ce2527f81283.php @@ -54,6 +54,10 @@ Niveles + check('documentoTipo.index')): ?> + Documentación + + check('permission.index')): ?> Permisos diff --git a/storage/framework/views/56207aeb9c90a060644c3e261130e1fa.php b/storage/framework/views/56207aeb9c90a060644c3e261130e1fa.php new file mode 100644 index 00000000..d7bdfb90 --- /dev/null +++ b/storage/framework/views/56207aeb9c90a060644c3e261130e1fa.php @@ -0,0 +1,70 @@ +startSection('head'); ?> + make('layouts._partials.tablaStyle', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> +stopSection(); ?> +startSection('title',"Inicio"); ?> + +startSection('content'); ?> + +
+
+
+
+
Niveles
+ check('nivel.create')): ?> + Crear nivel + +
+
+ +
+
+ + + + + + + + + + addLoop($__currentLoopData); foreach($__currentLoopData as $nivel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> + + + + + + popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> +

Sin niveles.

+ + + +
IdTituloOpciones
id); ?>name); ?> + check('nivel.edit')): ?> + + + + check('nivel.destroy')): ?> +
+
+ + + +
+
+ + +
+
+
+
+
+ +stopSection(); ?> + + +startSection('scripts'); ?> + make('layouts._partials.tablaScript', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> + make('layouts._partials.delete', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/626944dcba536661344670ad50686399.php b/storage/framework/views/626944dcba536661344670ad50686399.php new file mode 100644 index 00000000..e7e3d79f --- /dev/null +++ b/storage/framework/views/626944dcba536661344670ad50686399.php @@ -0,0 +1,39 @@ +
+ +

Configurar documentos por nivel

+ + +
+ + +
+ + + +
+ + + addLoop($__currentLoopData); foreach($__currentLoopData as $doc): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> +
+ + + nombre); ?> + +
+ popLoop(); $loop = $__env->getLastLoop(); ?> +
+ + + + +
+ \ No newline at end of file diff --git a/storage/framework/views/6df3a286c625cf14ac3dec4343dc4084.php b/storage/framework/views/6df3a286c625cf14ac3dec4343dc4084.php new file mode 100644 index 00000000..54283fd4 --- /dev/null +++ b/storage/framework/views/6df3a286c625cf14ac3dec4343dc4084.php @@ -0,0 +1,89 @@ +startSection('title',"Edit"); ?> + +startSection('content'); ?> + +
+
+
+
+
Editar documentación
+ Regresar +
+
+ +
+ +
+ +
+ +
+ + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ + + addLoop($__currentLoopData); foreach($__currentLoopData as $nivel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> +
+ niveles->contains($nivel->id) ? 'checked' : ''); ?> + + > + +
+ popLoop(); $loop = $__env->getLastLoop(); ?> +
+ +
+
+
+
+ +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/733d11acb74240a8186527b7eb41e5bf.php b/storage/framework/views/733d11acb74240a8186527b7eb41e5bf.php new file mode 100644 index 00000000..b64fd3fe --- /dev/null +++ b/storage/framework/views/733d11acb74240a8186527b7eb41e5bf.php @@ -0,0 +1,5 @@ +startSection('title', __('Page Expired')); ?> +startSection('code', '419'); ?> +startSection('message', __('Page Expired')); ?> + +make('errors::minimal', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/85e48b75fcb74cea0496e5dbc9da5fab.php b/storage/framework/views/85e48b75fcb74cea0496e5dbc9da5fab.php new file mode 100644 index 00000000..325c6911 --- /dev/null +++ b/storage/framework/views/85e48b75fcb74cea0496e5dbc9da5fab.php @@ -0,0 +1,95 @@ +startSection('title',"Crear"); ?> + +startSection('content'); ?> + +
+
+
+
+
Crear documentación
+ Regresar +
+
+ +
+ +

Crear tipo de documento

+ + +
+ + +
+ + +
+ + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ + +
+ + + addLoop($__currentLoopData); foreach($__currentLoopData as $nivel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> +
+ + +
+ popLoop(); $loop = $__env->getLastLoop(); ?> +
+ + + +
+ +
+
+
+ +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/8c522162fcd1ded6f5f43e84fb7ec56f.php b/storage/framework/views/8c522162fcd1ded6f5f43e84fb7ec56f.php new file mode 100644 index 00000000..53a85b86 --- /dev/null +++ b/storage/framework/views/8c522162fcd1ded6f5f43e84fb7ec56f.php @@ -0,0 +1,86 @@ +startSection('head'); ?> + make('layouts._partials.tablaStyle', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> +stopSection(); ?> +startSection('title',"Inicio"); ?> + +startSection('content'); ?> + +
+
+
+
+
Horarios
+ check('horario.create')): ?> + Asignar horarios a colaborador + +
+
+ +
+
+ + + + + + + + + + + + addLoop($__currentLoopData); foreach($__currentLoopData as $usuario): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> + + + + + + + + popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> +

Sin horarios cargados.

+ + + +
IdColaboradorCampusOpciones
id); ?>name); ?> + plantelUsuarios; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plantel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_2 = false; ?> + + name); ?> + + + popLoop(); $loop = $__env->getLastLoop(); if ($__empty_2): ?> + Sin plantel + + + check('horario.edit')): ?> + + + + check('horario.destroy')): ?> +
+
+ + + +
+
+ + +
+ + + +
+
+
+
+ +stopSection(); ?> + + +startSection('scripts'); ?> + make('layouts._partials.tablaScript', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> + make('layouts._partials.delete', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/ae99dd04cd1ed52b9ce048794a579509.php b/storage/framework/views/ae99dd04cd1ed52b9ce048794a579509.php new file mode 100644 index 00000000..e2701153 --- /dev/null +++ b/storage/framework/views/ae99dd04cd1ed52b9ce048794a579509.php @@ -0,0 +1,85 @@ +startSection('title',"Crear"); ?> + +startSection('content'); ?> + +
+
+
+
+
Editar horario
+ Regresar +
+
+ +
+
+ +
+ + +
+ + addLoop($__currentLoopData); foreach($__currentLoopData as $index => $dia): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> +
+ +
+ + +
+ +
+
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+ +
+ + + +
+ +
+ popLoop(); $loop = $__env->getLastLoop(); ?> + +
+
+
+
+ +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/c94686a743245027a4791517803740e1.php b/storage/framework/views/c94686a743245027a4791517803740e1.php index 2a17abf3..3cacaf85 100644 --- a/storage/framework/views/c94686a743245027a4791517803740e1.php +++ b/storage/framework/views/c94686a743245027a4791517803740e1.php @@ -1,3 +1,43 @@ +
+ +
+ +addLoop($__currentLoopData); foreach($__currentLoopData as $tipo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> + + slug] ?? null; + ?> + +
+ name)); ?> : + + + + status == 1): ?> + ✔ Validado + status == 2): ?> + ✘ Rechazado + + Pendiente + + + + + + ✘ Faltante + + +
+ +popLoop(); $loop = $__env->getLastLoop(); ?> + +
+
+ + + \ No newline at end of file diff --git a/storage/framework/views/d15e2d929d0bcc089ddb44c9afa096c2.php b/storage/framework/views/d15e2d929d0bcc089ddb44c9afa096c2.php new file mode 100644 index 00000000..d1ed13e2 --- /dev/null +++ b/storage/framework/views/d15e2d929d0bcc089ddb44c9afa096c2.php @@ -0,0 +1,106 @@ +startSection('title',"Edit"); ?> + +startSection('content'); ?> + +
+
+
+
+
Editar horario
+ Regresar +
+
+ +
+ +
+ +
+ +
+ + + +
+ + +
+ + addLoop($__currentLoopData); foreach($__currentLoopData as $index => $dia): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> + + translatedFormat('l')); + $horario = $horarios[$nombreDia] ?? null; + ?> + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ status ? 'checked' : ''); ?>> + +
+ +
+ + popLoop(); $loop = $__env->getLastLoop(); ?> + + +
+
+
+
+ +stopSection(); ?> + +make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/dced90c4f18ee7102b292fa82672fca5.php b/storage/framework/views/dced90c4f18ee7102b292fa82672fca5.php index f53d95b7..c954c6fa 100644 --- a/storage/framework/views/dced90c4f18ee7102b292fa82672fca5.php +++ b/storage/framework/views/dced90c4f18ee7102b292fa82672fca5.php @@ -37,45 +37,6 @@
Expediente
- alumnos()->first(); - ?> - - addLoop($__currentLoopData); foreach($__currentLoopData as $tipo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> - documentos->firstWhere('tipo', $tipo); - ?> - -
- : - - - - status == 1): ?> - ✔ Validado - - status == 2): ?> - ❌ Rechazado - - - Pendiente de revision - - -
- - - - - ❌ Faltante - - -
- popLoop(); $loop = $__env->getLastLoop(); ?>