
<?php $__env->startSection('content'); ?>
    <!-- Page-content -->
    <div class="group-data-[sidebar-size=lg]:ltr:md:ml-vertical-menu group-data-[sidebar-size=lg]:rtl:md:mr-vertical-menu group-data-[sidebar-size=md]:ltr:ml-vertical-menu-md group-data-[sidebar-size=md]:rtl:mr-vertical-menu-md group-data-[sidebar-size=sm]:ltr:ml-vertical-menu-sm group-data-[sidebar-size=sm]:rtl:mr-vertical-menu-sm pt-[calc(theme('spacing.header')_*_1)] pb-[calc(theme('spacing.header')_*_0.8)] px-4 group-data-[navbar=bordered]:pt-[calc(theme('spacing.header')_*_1.3)] group-data-[navbar=hidden]:pt-0 group-data-[layout=horizontal]:mx-auto group-data-[layout=horizontal]:max-w-screen-2xl group-data-[layout=horizontal]:px-0 group-data-[layout=horizontal]:group-data-[sidebar-size=lg]:ltr:md:ml-auto group-data-[layout=horizontal]:group-data-[sidebar-size=lg]:rtl:md:mr-auto group-data-[layout=horizontal]:md:pt-[calc(theme('spacing.header')_*_1.6)] group-data-[layout=horizontal]:px-3 group-data-[layout=horizontal]:group-data-[navbar=hidden]:pt-[calc(theme('spacing.header')_*_0.9)]">
        <div class="container-fluid group-data-[content=boxed]:max-w-boxed mx-auto">
            <div class="flex flex-col gap-2 py-4 md:flex-row md:items-center print:hidden">
                <div class="grow">
                    <h5 class="text-16">Peserta <?php echo e($lok[0]->event_name); ?></h5>
                </div>
                <ul class="flex items-center gap-2 text-sm font-normal shrink-0">
                    <li class="relative before:content-['\ea54'] before:font-remix ltr:before:-right-1 rtl:before:-left-1  before:absolute before:text-[18px] before:-top-[3px] ltr:pr-4 rtl:pl-4 before:text-slate-400 dark:text-zink-200">
                        <a href="#!" class="text-slate-400 dark:text-zink-200">Peserta</a>
                    </li>
                    <li class="text-slate-700 dark:text-zink-100">
                        Daftar Peserta <?php echo e($lok[0]->event_name); ?>

                    </li>
                </ul>
            </div>

     
         

            <div class="card">
                <div class="card-body">
                    <div class="flex items-center">
                        <h6 class="text-15 grow">Peserta <?php echo e($lok[0]->event_name); ?></h6>
                      
                    
                    </div>
                    <br>
                    <table id="alternativePagination" class="display" style="width:100%">
                        <thead>
                            <tr>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">No</th>
                                <th hidden>ID</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Order ID</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Bib Number</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Full Name</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">First Name</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Last Name</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Email</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Phone</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Bib Name</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Document ID</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Blood Type</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Sex</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Tgl Lahir</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">TshirtSize</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Community</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">NameEmergency</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">phoneEmergency</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">relationEmergency</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">category</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">address</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">name</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">nationality</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Voucher</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Payment</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Tgl Transaksi</th>
                                <th class="px-3.5 py-2.5 font-semibold border border-slate-200 dark:border-zink-500">Action</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php $__currentLoopData = $peserta; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                           

                                <tr>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e(++$key); ?></td>
                                    <td class="id_update" hidden><?php echo e($value->order_id); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->order_id); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->bib_number); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->full_name); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->first_name); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->last_name); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->email); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->phone); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->bib_name); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->dokumen_id); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->blood_tipe); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->jenis_kelamin); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->tgl_lahir); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->tshirt_size); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->community); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->emergency_name); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->telp_emergency); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->relationEmergency); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->package); ?></td>

                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->alamat); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->nama); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->country_name); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->voucher); ?></td>
                                    <?php if($value->pembayaran == 'Paid'): ?>
                                    <td  class="px-2.5 py-0.5 text-xs font-medium inline-block rounded border transition-all duration-200 ease-linear bg-green-100 border-transparent text-green-500 hover:bg-green-200 dark:bg-green-400/20 dark:hover:bg-green-400/30 dark:border-transparent"><?php echo e($value->pembayaran); ?></td>
                                    <?php else: ?>
                                    <td  class="px-2.5 py-0.5 text-xs font-medium inline-block rounded border transition-all duration-200 ease-linear bg-red-100 border-transparent text-red-500 hover:bg-red-200 dark:bg-red-400/20 dark:hover:bg-red-400/30 dark:border-transparent"><?php echo e($value->pembayaran); ?></td>
                                    <?php endif; ?>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500"><?php echo e($value->updated); ?></td>
                                    <td class="px-3.5 py-2.5 border border-slate-200 dark:border-zink-500">
                                        <div class="flex gap-2">
                                            <a href="<?php echo e(route('peserta/kirimEmail',$value->order_id)); ?>"  id="updateRecord" class="flex items-center justify-center transition-all duration-200 ease-linear rounded-md size-8 bg-slate-100 dark:bg-zink-600 dark:text-zink-200 text-slate-500 hover:text-custom-500 dark:hover:text-custom-500 hover:bg-custom-100 dark:hover:bg-custom-500/20"><i data-lucide="mail" class="size-4"></i></a>
                                       
                                        </div>
                                    </td>
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <!-- End Page-content -->


    
    <!--delete modal-->
    <div id="deleteModal" modal-center="" class="fixed flex flex-col hidden transition-all duration-300 ease-in-out left-2/4 z-drawer -translate-x-2/4 -translate-y-2/4 show">
        <div class="w-screen md:w-[25rem] bg-white shadow rounded-md dark:bg-zink-600">
            <div class="max-h-[calc(theme('height.screen')_-_180px)] overflow-y-auto px-6 py-8">
                <div class="float-right">
                    <button data-modal-close="deleteModal" class="transition-all duration-200 ease-linear text-slate-500 hover:text-red-500">
                        <i data-lucide="x" class="w-5 h-5"></i>
                    </button>
                </div>
                <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAC8VBMVEUAAAD/6u7/cZD/3uL/5+r/T4T9O4T/4ub9RIX/ooz/7/D/noz+PoT/3uP9TYf/XoX/m4z/oY39Tob/oYz/oo39O4T9TYb/po3/n4z/4Ob/3+X/nIz+fon/4eb/nI39Xoj9fIn/8fP9SoX9coj/noz/XYb/6e38R4b/XIf/cIn/ZYj/Rof/6+//cIr/oYz/a4P/7/L+X4f+bYn+QoX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Zw9UQzYQ3L6ohjQR3ISJyMgQXIGohgwQHKGoxgwTHKs9UdDs345hWBV+AGrKAyp8AMOUyiSYd9PUjjWbroYik1rKSSr42Hejx+m0KxefEbM4tUUAUf2x2XPx/cfoWiIJZKLA46IL04mYvQf/AaSGokYCo6ekAAAAABJRU5ErkJggg==" alt="" class="block h-12 mx-auto">
                <form action="#" method="POST">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="id_delete" id="e_id_delete" value="">
                    <div class="mt-5 text-center">
                        <h5 class="mb-1">Apa kamu yakin?</h5>
                        <p class="text-slate-500 dark:text-zink-200">Menghapus data ini !!!</p>
                        <div class="flex justify-center gap-2 mt-6">
                            <button type="reset" data-modal-close="deleteModal" class="bg-white text-slate-500 btn hover:text-slate-500 hover:bg-slate-100 focus:text-slate-500 focus:bg-slate-100 active:text-slate-500 active:bg-slate-100 dark:bg-zink-600 dark:hover:bg-slate-500/10 dark:focus:bg-slate-500/10 dark:active:bg-slate-500/10">Batal</button>
                            <button type="submit" class="text-white bg-red-500 border-red-500 btn hover:text-white hover:bg-red-600 hover:border-red-600 focus:text-white focus:bg-red-600 focus:border-red-600 focus:ring focus:ring-red-100 active:text-white active:bg-red-600 active:border-red-600 active:ring active:ring-red-100 dark:ring-custom-400/20">Hapus</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!--end delete modal-->

<?php $__env->startSection('script'); ?>
    
    <script>
        $(document).on('click','#updateRecord',function()
        {
            var _this = $(this).parents('tr');
            $('#e_id_update').val(_this.find('#kode').text());
            $('#e_nama_bank').val(_this.find('#nama_bank').text());
           
          
        });
    </script>
    
    <script>
        $(document).on('click','#deleteRecord',function()
        {
            var _this = $(this).parents('tr');
            $('#e_id_delete').val(_this.find('#kode').text());
        });
    </script>
<?php $__env->stopSection(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\runningSystem\resources\views/email/emailBW.blade.php ENDPATH**/ ?>