[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
peminjaman
/
storage
/
framework
/
views
/
[
Home
]
File: 84432c64c1b87b88c778d8b9a79f64fa.php
<?php $__env->startSection('title', 'Daftar Petugas'); ?> <?php $__env->startSection('description', 'Halaman daftar petugas'); ?> <?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="#createOfficerModal"> <i class="bi bi-plus-circle-fill"></i> Tambah Petugas </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; ?> <div class="table-responsive"> <table class="table datatable"> <thead> <tr> <th scope="col">#</th> <th scope="col">Nama</th> <th scope="col">Email</th> <th scope="col">Nomor Handphone</th> <th scope="col">Aksi</th> </tr> </thead> <tbody> <?php $__currentLoopData = $officers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $officer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <th scope="row"><?php echo e($loop->iteration); ?></th> <td><?php echo e($officer->name); ?></td> <td><?php echo e($officer->email); ?></td> <td><?php echo e($officer->phone_number); ?></td> <td> <div class="btn-group gap-1"> <button type="button" class="btn btn-sm btn-success editOfficerButton" data-bs-toggle="modal" data-id="<?php echo e($officer->id); ?>" data-bs-target="#editOfficerModal"> <i class="bi bi-pencil-fill"></i> </button> <form action="<?php echo e(route('administrators.officers.destroy', $officer)); ?>" 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.officer.modal.create', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('administrator.officer.modal.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('script'); ?> <?php echo $__env->make('administrator.officer.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/officer/index.blade.php ENDPATH**/ ?>