HEX
Server: Apache/2.4.46 (Ubuntu)
System: Linux localhost 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64
User: root (0)
PHP: 7.4.16
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/hrms-production/storage/framework/views/0db8cf312769734f3cd424ea161a690f82f97c35.php

<?php $__env->startSection('content'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <div class="container-fluid">
            
        </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="container-fluid">

            
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-header">
                            <h5>Pending Approval Record</h5>
                        </div>
                        <!-- /.card-header -->
                        <div class="card-body">
                            <table id="emplaoyeePromotionTable" class="table table-bordered table-striped table-sm">
                                <thead>
                                    <tr>
                                        <th>S.No.</th>
                                        <th>Employee Code</th>
                                        <th>Module Title</th>
                                        <th>Approval Status</th>
                                        <th>Request by</th>
                                        <th>Comment</th>
                                        <th>Created at</th>
                                        <th>Action</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php $__currentLoopData = $GetPendinApproval; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $GetPendinApproval): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($loop->iteration); ?></td>
                                            <td><a href="<?php echo e(url('view-employee', ['EmployeeId' => $GetPendinApproval->EmployeeId,  'ModuleId' => $GetPendinApproval->ModuleId])); ?>" target="_blank" rel="noopener noreferrer"><?php echo e($GetPendinApproval->EmployeeCode); ?></a></td>
                                            <td><?php echo e($GetPendinApproval->ModuleTitle); ?></td>
                                            <td>
                                                <?php if($GetPendinApproval->ApprovalStatus == 0): ?>
                                                    <span class="badge bg-warning">Pending</span>
                                                <?php elseif($GetPendinApproval->ApprovalStatus == 2): ?>
                                                    <span class="badge bg-danger">Rejected</span>
                                                <?php endif; ?>
                                            </td>
                                            <td><?php echo e($GetPendinApproval->ApprovalFrom); ?></td>
                                            <td><?php echo e($GetPendinApproval->ApprovalComments); ?></td>
                                            <td><?php echo e(date('d-M-y', strtotime($GetPendinApproval->Created_at))); ?></td>
                                            <td>
                                                <div class="btn-group">
                                                    <button type="button"
                                                        class="btn btn-default btn-sm dropdown-toggle dropdown-icon"
                                                        data-toggle="dropdown" aria-expanded="false">
                                                    </button>
                                                    <div class="dropdown-menu dropdown-menu-right" role="menu">
                                                        
                                                        <a href="<?php echo e(url('view-employee', ['EmployeeId' => $GetPendinApproval->EmployeeId,  'ModuleId' => $GetPendinApproval->ModuleId])); ?>"
                                                            class="dropdown-item btn btn-default" target="blank">View</a>

                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            </table>
                        </div>
                        <!-- /.card-body -->
                    </div>
                    <!-- /.card -->
                </div>
                <!-- /.col -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /.container-fluid -->
    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->

<script>
    $(function() {
            $("#emplaoyeePromotionTable").DataTable({
                "responsive": true,
                "lengthChange": true,
                "autoWidth": false,
                "lengthMenu": [10, 20, 50, 100, 250, 500],
                "buttons": ["csv", "excel", "pdf", "print", "colvis"]
            }).buttons().container().appendTo('#emplaoyeePromotionTable_wrapper .col-md-6:eq(0)');
        });
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.include.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/hrms-production/resources/views/admin/EmployeeProfile/approval-list.blade.php ENDPATH**/ ?>