[ 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: 0bc7e879d294078cfd9d412df754d531.php
<?php $__env->startSection('title', 'Laporan Peminjaman'); ?> <?php $__env->startSection('description', 'Halaman Laporan Peminjaman'); ?> <?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)) { $__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-4"> <div class="mb-3"> <label for="student_id" class="form-label">Mahasiswa:</label> <select name="student_id" id="student_id" class="form-select"> <option value="">Pilih mahasiswa..</option> <?php $__currentLoopData = $students; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $student): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($student->id); ?>" <?php if(request('student_id')==$student->id): echo 'selected'; endif; ?>><?php echo e($student->identification_number); ?> - <?php echo e($student->name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-md-4"> <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-4"> <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> <div class="row"> <div class="col-md-6"> <div class="mb-3"> <label for="start_date">Tanggal Awal:</label> </div> <div class="input-group"> <span class="input-group-text"> <div><i class="bi bi-calendar-date-fill"></i></div> </span> <input type="date" class="form-control" name="start_date" id="start_date" value="<?php echo e(request('start_date')); ?>" placeholder="Pilih tanggal awal.."> </div> </div> <div class="col-md-6"> <div class="mb-3"> <label for="end_date">Tanggal Akhir:</label> </div> <div class="input-group"> <span class="input-group-text"> <div><i class="bi bi-calendar-date-fill"></i></div> </span> <input type="date" class="form-control" name="end_date" id="end_date" value="<?php echo e(request('end_date')); ?>" placeholder="Pilih tanggal akhir.."> </div> </div> </div> <?php $__env->slot('resetButtonURL', null, []); ?> <?php echo e(route('officers.borrowings-report.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="d-flex flex-row-reverse pb-3"> <form action="<?php echo e(route('officers.borrowings-report.export')); ?>" method="POST"> <?php echo csrf_field(); ?> <input type="hidden" name="start_date" value="<?php echo e(request('start_date')); ?>"> <input type="hidden" name="end_date" value="<?php echo e(request('end_date')); ?>"> <input type="hidden" name="program_study_id" value="<?php echo e(request('program_study_id')); ?>"> <input type="hidden" name="student_id" value="<?php echo e(request('student_id')); ?>"> <input type="hidden" name="school_class_id" value="<?php echo e(request('school_class_id')); ?>"> <button class="btn btn-success" type="submit"><i class="bi bi-file-earmark-excel-fill"></i></button> </form> </div> <div class="table-responsive"> <table class="table datatable"> <thead> <tr> <th scope="col">#</th> <th scope="col">Nama Mahasiswa</th> <th scope="col">Komoditas</th> <th scope="col">Tanggal</th> <th scope="col">Jam Pinjam</th> <th scope="col">Jam Kembali</th> <th scope="col">Petugas</th> <th scope="col">Aksi</th> </tr> </thead> <tbody> <?php $__currentLoopData = $borrowings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $borrowing): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <th scope="row"><?php echo e($loop->iteration); ?></th> <th> <span class="badge text-bg-primary" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="<?php echo e($borrowing->student->identification_number); ?>"><?php echo e($borrowing->student->name); ?></span> </th> <td><?php echo e($borrowing->commodity->name); ?></td> <td><?php echo e($borrowing->getDateFormatted()); ?></td> <td> <span class="badge text-bg-secondary"> <i class="bi bi-clock-fill"></i> <?php echo e($borrowing->time_start); ?> </span> </td> <td> <?php if($borrowing->time_end === NULL): ?> <span class="badge text-bg-info" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Sedang dipinjam"> <i class="bi bi-clock"></i></span> <?php else: ?> <span class="badge text-bg-secondary"> <i class="bi bi-clock-fill"></i> <?php echo e($borrowing->time_end); ?> </span> <?php endif; ?> </td> <td> <?php if($borrowing->officer_id !== NULL): ?> <span class="badge text-bg-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Sudah divalidasi oleh <?php echo e($borrowing->officer->name); ?>"> <i class="bi bi-check-circle"></i> </span> <?php else: ?> <span class="badge text-bg-warning" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Belum divalidasi oleh petugas!"> <i class="bi bi-exclamation-circle"></i> </span> <?php endif; ?> </td> <td> <div class="btn-group gap-1"> <?php if($borrowing->time_end !== NULL && $borrowing->officer_id === NULL): ?> <form action="<?php echo e(route('officers.borrowings.validate', $borrowing)); ?>"> <button type="submit" class="btn btn-sm btn-info btn-validate" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Validasi"> <i class="bi bi-person-lines-fill"></i> </button> </form> <?php endif; ?> <button type="button" class="btn btn-sm btn-success showBorrowingButton" data-bs-toggle="modal" data-id="<?php echo e($borrowing->id); ?>" data-bs-target="#detailBorrowingModal"> <i class="bi bi-eye-fill"></i> </button> </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('officer.borrowing.report.modal.show', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('script'); ?> <?php echo $__env->make('officer.borrowing.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 C:\xampp\htdocs\peminjaman\resources\views/officer/borrowing/report/index.blade.php ENDPATH**/ ?>