[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
software bumsil
/
aplikasi
/
peminjaman
/
storage
/
framework
/
views
/
[
Home
]
File: c199f835002f020a5bb2e646fe4864b7.php
<?php $__env->startSection('title', 'Daftar Mahasiswa'); ?> <?php $__env->startSection('description', 'Halaman daftar mahasiswa'); ?> <?php $__env->startSection('content'); ?> <section class="row"> <div class="col-12"> <?php echo $__env->make('utilities.alert', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="card"> <div class="card-header"> <h4 class="card-title"><?php echo $__env->yieldContent('title'); ?></h4> </div> <div class="card-body"> <?php if (isset($component)) { $__componentOriginalfa2ad1f6d0081dba63dfc5ee490a0fc2 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalfa2ad1f6d0081dba63dfc5ee490a0fc2 = $attributes; } ?> <?php $component = App\View\Components\ButtonGroupFlex::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('button-group-flex'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\ButtonGroupFlex::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#createStudentModal"> <i class="bi bi-plus-circle-fill"></i> Tambah Mahasiswa </button> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalfa2ad1f6d0081dba63dfc5ee490a0fc2)): ?> <?php $attributes = $__attributesOriginalfa2ad1f6d0081dba63dfc5ee490a0fc2; ?> <?php unset($__attributesOriginalfa2ad1f6d0081dba63dfc5ee490a0fc2); ?> <?php endif; ?> <?php if (isset($__componentOriginalfa2ad1f6d0081dba63dfc5ee490a0fc2)): ?> <?php $component = $__componentOriginalfa2ad1f6d0081dba63dfc5ee490a0fc2; ?> <?php unset($__componentOriginalfa2ad1f6d0081dba63dfc5ee490a0fc2); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalcdbe555d389dfdab6d96ab0e0eefa56d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalcdbe555d389dfdab6d96ab0e0eefa56d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.filter-menu','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('filter-menu'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <div class="row"> <div class="col-md-6"> <div class="mb-3"> <label for="program_study_id" class="form-label">Program Studi:</label> <select name="program_study_id" id="program_study_id" class="form-select"> <option value="">Pilih program studi..</option> <?php $__currentLoopData = $programStudies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $programStudy): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($programStudy->id); ?>" <?php if(request('program_study_id')==$programStudy-> id): echo 'selected'; endif; ?>><?php echo e($programStudy->name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-md-6"> <div class="mb-3"> <label for="school_class_id" class="form-label">Kelas:</label> <select name="school_class_id" id="school_class_id" class="form-select"> <option value="">Pilih kelas..</option> <?php $__currentLoopData = $schoolClasses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $schoolClass): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($schoolClass->id); ?>" <?php if(request('school_class_id')==$schoolClass-> id): echo 'selected'; endif; ?>><?php echo e($schoolClass->name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> </div> <?php $__env->slot('resetButtonURL', null, []); ?> <?php echo e(route('administrators.students.index')); ?> <?php $__env->endSlot(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalcdbe555d389dfdab6d96ab0e0eefa56d)): ?> <?php $attributes = $__attributesOriginalcdbe555d389dfdab6d96ab0e0eefa56d; ?> <?php unset($__attributesOriginalcdbe555d389dfdab6d96ab0e0eefa56d); ?> <?php endif; ?> <?php if (isset($__componentOriginalcdbe555d389dfdab6d96ab0e0eefa56d)): ?> <?php $component = $__componentOriginalcdbe555d389dfdab6d96ab0e0eefa56d; ?> <?php unset($__componentOriginalcdbe555d389dfdab6d96ab0e0eefa56d); ?> <?php endif; ?> <div class="table-responsive"> <table class="table datatable"> <thead> <tr> <th scope="col">#</th> <th scope="col">NIM</th> <th scope="col">Nama</th> <th scope="col">Program Studi</th> <th scope="col">Kelas</th> <th scope="col">Aksi</th> </tr> </thead> <tbody> <?php $__currentLoopData = $students; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $student): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <th scope="row"><?php echo e($loop->iteration); ?></th> <td> <span class="badge rounded-pill text-bg-primary"><?php echo e($student->identification_number); ?></span> </td> <td><?php echo e($student->name); ?></td> <td><?php echo e($student->programStudy->name); ?></td> <td><?php echo e($student->schoolClass->name); ?></td> <td> <div class="btn-group gap-1"> <button type="button" class="btn btn-sm btn-primary showStudentButton" data-bs-toggle="modal" data-id="<?php echo e($student->id); ?>" data-bs-target="#detailStudentModal"> <i class="bi bi-eye-fill"></i> </button> <button type="button" class="btn btn-sm btn-success editStudentButton" data-bs-toggle="modal" data-id="<?php echo e($student->id); ?>" data-bs-target="#editStudentModal"> <i class="bi bi-pencil-fill"></i> </button> <form action="<?php echo e(route('administrators.students.destroy', $student)); ?>" method="POST"> <?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?> <button type="submit" class="btn btn-sm btn-danger btn-delete"><i class="bi bi-trash-fill"></i></button> </form> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startPush('modal'); ?> <?php echo $__env->make('administrator.student.modal.create', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('administrator.student.modal.show', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('administrator.student.modal.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('script'); ?> <?php echo $__env->make('administrator.student.script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/willyap/Sites/wordpress/peminba/resources/views/administrator/student/index.blade.php ENDPATH**/ ?>