<head>
    <style type="text/css">

        @media  print {
            body {
                -webkit-print-color-adjust: exact;
            }

            table.details tr th {
                background-color: #F2F2F2 !important;
            }

            .print_bg {
                background-color: #F2F2F2 !important;
            }

        }

        .print_bg {
            background-color: #F2F2F2 !important;
        }

        body {
            font-family: "Open Sans", helvetica, sans-serif;
            font-size: 13px;
            color: #000000;
        }

        table.logo {
            -webkit-print-color-adjust: exact;
            border-collapse: inherit;
            width: 100%;
            margin-bottom: 10px;
            padding: 10px;
            border-bottom: 2px solid #25221F;

        }

        table.emp {
            width: 100%;
            margin-bottom: 10px;
            padding: 40px;
        }

        table.details, table.payment_details {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 10px;
        }

        table.payment_total {
            border-collapse: collapse;
            width: 100%;
            margin-bottom: 10px;
        }

        table.emp tr td {
            width: 30%;
            padding: 10px
        }

        table.details tr th {
            border: 1px solid #000000;
            background-color: #F2F2F2;
            font-size: 15px;
            padding: 10px
        }

        table.details tr td {
            vertical-align: top;
            width: 30%;
            padding: 3px
        }

        table.payment_details > tbody > tr > td {
            border: 1px solid #000000;
            padding: 5px;
        }

        table.payment_total > tbody > tr > td {
            padding: 5px;
            width: 60%
        }

        table.logo > tbody > tr > td {
            border: 1px solid transparent;
        }
    </style>
</head>
<body>
<table class="logo">
    <tr>
        <td>

        </td>
        <td><p style="text-align: right;">
                <?php echo HTML::image($employee->company->logo_image_url,'Logo',['class'=>'logo-default','height'=>'40px']); ?>

            </p>

            <p style="text-align: right;">

                <b><?php echo e($employee->company->company_name); ?></b><br/>
                <?php echo e($employee->company->address); ?><br/>
                <b>Contact</b>: <?php echo e($employee->company->contact); ?>

                <?php echo e($employee->company->email); ?>


            </p>
        </td>
    </tr>
</table>
<table class="emp">
    <tbody>
    <tr>
        <td colspan="3" style="text-align: center; font-size: 18px;"><strong>Timesheet <br>
                Employee: 
            </strong></td>
    </tr>
    <tr>
        <td><strong><?php echo app('translator')->get("core.employeeID"); ?>:</strong> <?php echo e($employee->employeeID); ?> </td>
        <td><strong><?php echo app('translator')->get("core.name"); ?>:</strong> <?php echo e($employee->full_name); ?></td>
        <td><strong><?php echo app('translator')->get("core.payslipNumber"); ?>:</strong> </td>
    </tr>

    <tr>
        <td><strong><?php echo app('translator')->get("core.department"); ?>:</strong> <?php echo e($employee->getDesignation->department->name); ?></td>
        <td><strong><?php echo app('translator')->get("core.designation"); ?>:</strong> <?php echo e($employee->getDesignation->designation); ?></td>
        <td><strong><?php echo app('translator')->get("core.joining_date"); ?>
                :<?php echo date('d-M,Y',strtotime($employee->joining_date)); ?></strong> </td>
    </tr>
    </tbody>
</table>

<!-- Table for Details -->
<table class="details">

    <tr>
        <!-- Payment Info Slip Start-->
        <td>

            <table class="payment_details">
                <tr>
                    <th colspan="3">Timesheet List</th>
                </tr>
                <?php $__currentLoopData = $timesheets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $timesheet): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                <td><strong><?php echo e($timesheet->f_date); ?></strong></td>
                    <td><strong><?php echo e(strip_tags($timesheet->task)); ?></strong></td>

                    <td><strong><?php echo e($timesheet->hours); ?></strong></td>
                </tr>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                
                    <tr><td> </td>
                        <td> </td>

                        <td>  </td>
                    </tr>
                
            </table>
            <!-- Table for Details -->
        </td>
        <!--  Payment Info Slip End-->

        <!--  Reimebursement Slip start-->

        <!--  Reimebursement Slip END-->

        <!-- Deduction start -->
       
        <!--  Deductions End-->
    </tr>

</table>
<!-- Table for Details -->
<hr>
<!-- TotalTotal -->
<table class="payment_total">

    <tr>
        <td><strong>&nbsp;</strong></td>

        <td>
            <table class="payment_details">
                <tr>
                    <th colspan="2"><?php echo app('translator')->get("core.total"); ?></th>
                </tr>
                

               
                <tr class="print_bg">
                    <td><b>Hours</b></td>

                    <td> <?php echo e($totalHrs); ?></td>
                </tr>
            </table>

        </td>
    </tr>


</table>
<!-- TotalTotal -->
</body>




<?php /**PATH /home/dmwachinga/projects/hr/KodiHRM/resources/views/admin/timesheet_reports/pdfview.blade.php ENDPATH**/ ?>