<!DOCTYPE html>
<html lang="en">
    <div id="DivIdToPrint">
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <meta http-equiv="X-UA-Compatible" content="ie=edge">
            <link href="https://fonts.googleapis.com/css?family=Content|Moul|Titillium+Web" rel="stylesheet">
            <style>


                table {
                    width: 100%;
                }

                table, th, td {
                    border: 1px solid rgba(20, 19, 19, 0.71);
                    border-collapse: collapse;
                }

                thead tr td {
                    text-align: center;
                    font-size: 12px;
                    font-family: "Content";
                    padding: 5px;
                    font-weight: bold;
                }

                tbody tr td {
                    font-size: 12px;
                    font-family: "Content";
                    padding: 5px;
                }

                tfoot tr td {
                    font-size: 12px;
                    font-family: "Moul";
                    padding: 5px;
                }

                .space {
                    margin-left: 100px !important;
                }


            </style>
        </head>
        <?php if(count($em) > 0): ?>
            <body>
                <table class="table table-bordered"  border="1" style="width: 100%;border-collapse: collapse;">
                    <tr>
                        <th>No</th>
                        <th>English Name</th>
                        <th>Khmer Name</th>
                        <th>Employee Code</th>
                        <th>Gender</th>
                        <th>ID card</th>
                        <th>Email</th>
                        <th>Marital</th>
                        <th>Joined Date</th>
                        <th>DOB</th>
                        <th>POB</th>
                        <th>Address</th>
                    </tr>
                    <?php $__currentLoopData = $em['rows']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($loop->index+1); ?></td>
                            <td><?php echo e($row->name); ?></td>
                            <td><?php echo e($row->name_kh); ?></td>
                            <td><?php echo e($row->code); ?></td>
                            <td><?php echo e($row->gender); ?></td>
                            <td><?php echo e($row->id_card); ?></td>
                            <td><?php echo e($row->email); ?></td>
                            <td><?php echo e($row->marital_status); ?></td>
                            <td><?php echo e(date('d-m-Y', strtotime($row->joined_date))); ?></td>
                            <td><?php echo e(date('d-m-Y', strtotime($row->date_of_birth))); ?></td>
                            <td><?php echo e($row->place_of_birth); ?></td>
                            <td><?php echo e($row->address); ?></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </table>
            </body>
        <?php else: ?>
            <h1 align="center">No data Found</h1>
        <?php endif; ?>
    </div>
</html>
<?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/hr/report-employee/employee-list.blade.php ENDPATH**/ ?>