[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
peminjaman
/
storage
/
framework
/
views
/
[
Home
]
File: 19d45ec9934c5b703da8eed9d30b3b2f.php
<?php $__env->startSection('title', 'Peminjaman Hari Ini'); ?> <?php $__env->startSection('description', 'Halaman Daftar Peminjaman Hari Ini'); ?> <?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"> <div class="alert alert-warning" role="alert"> <i class="bi bi-exclamation-circle"></i> Setiap data peminjaman dari mahasiswa petugas wajib melakukan validasi dengan menekan tombol validasi pada data di tabel agar petugas bisa memberikan pertanggung jawaban jika terjadinya komoditas yang hilang. Silahkan petugas melakukan validasi jika jam kembali sudah terisi. Jika jam kembali sudah terisi maka komoditas yang dipinjam telah dikembalikan oleh mahasiswa tersebut. <div class="fw-bold pt-3">Diharapkan kembali petugas sebelum melakukan validasi melakukan cek terhadap komoditas yang sudah dipinjam apakah benar sudah dikembalikan.</div> </div> <?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="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-6"> <div class="mb-3"> <label for="status" class="form-label">Status pengembalian:</label> <select name="status" id="status" class="form-select"> <option value="" <?php if(request('status')==='' ): echo 'selected'; endif; ?>>Pilih status pengembalian..</option> <option value="1" <?php if(request('status')==='1' ): echo 'selected'; endif; ?>>Sudah dikembalikan</option> <option value="0" <?php if(request('status')==='0' ): echo 'selected'; endif; ?>>Belum dikembalikan</option> </select> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="mb-3"> <label for="validate" class="form-label">Status validasi:</label> <select name="validate" id="validate" class="form-select"> <option value="" <?php if(request('validate')==='' ): echo 'selected'; endif; ?>>Pilih status validasi..</option> <option value="1" <?php if(request('validate')==='1' ): echo 'selected'; endif; ?>>Sudah divalidasi</option> <option value="0" <?php if(request('validate')==='0' ): echo 'selected'; endif; ?>>Belum divalidasi</option> </select> </div> </div> <div class="col-md-6"> <div class="mb-3"> <label for="commodity_id" class="form-label">Komoditas:</label> <select name="commodity_id" id="commodity_id" class="form-select"> <option value="">Pilih komoditas..</option> <?php $__currentLoopData = $commodities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $commodity): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($commodity->id); ?>" <?php if(request('commodity_id')==$commodity->id): echo 'selected'; endif; ?>><?php echo e($commodity->name); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> </div> <?php $__env->slot('resetButtonURL', null, []); ?> <?php echo e(route('administrators.borrowings.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">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"> <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('administrator.borrowing.main.modal.show', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('script'); ?> <?php echo $__env->make('administrator.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 /Users/willyap/Sites/wordpress/peminba/resources/views/administrator/borrowing/main/index.blade.php ENDPATH**/ ?>