<table>
    <thead>
        <tr>
            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                ID User
            </th>

            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                Username
            </th>

            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                NRP
            </th>

            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                Role
            </th>

            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                Nama Karyawan
            </th>

            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                Jabatan
            </th>

            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                Departemen
            </th>

            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                Email
            </th>

            <th style="background-color:#1F4E78;color:#FFFFFF;font-weight:bold;border:1px solid #000000;">
                Dibuat
            </th>
        </tr>
    </thead>

    <tbody>
        <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td style="border:1px solid #000000;">
                    <?php echo e($loop->iteration); ?>

                </td>

                <td style="border:1px solid #000000;">
                    <?php echo e($user->name); ?>

                </td>

                <td style="border:1px solid #000000;">
                    <?php echo e($user->karyawan->nrp ?? '-'); ?>

                </td>

                <td style="border:1px solid #000000;">
                    <?php echo e($user->role); ?>

                </td>

                <td style="border:1px solid #000000;">
                    <?php echo e($user->karyawan->nama ?? '-'); ?>

                </td>

                <td style="border:1px solid #000000;">
                    <?php echo e($user->karyawan->jabatan->jabatan ?? '-'); ?>

                </td>

                <td style="border:1px solid #000000;">
                    <?php echo e($user->karyawan->departemen->departemen ?? '-'); ?>

                </td>

                <td style="border:1px solid #000000;">
                    <?php echo e($user->email); ?>

                </td>

                <td style="border:1px solid #000000;">
                    <?php echo e($user->created_at?->format('d-m-Y H:i')); ?>

                </td>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>
<?php /**PATH /home/u544939042/domains/mitracempaka.id/gl-asuh/resources/views/exports/users.blade.php ENDPATH**/ ?>