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/21ca41383ae49a0b6fb4c0aae74d5c080e6ce5a9.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 class="row mb-2">
                <div class="col-sm-6">
                    <h1>Write Petition of University Employees</h1>
                </div>
                <div class="col-sm-6 text-right">
                    <button type="button" class="btn btn-sm btn-outline-info mx-1" data-toggle="modal"
                        data-target="#addEmployeePetition">Add New</button>
                </div>
            </div>
        </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="container-fluid">
            
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        
                        <!-- /.card-header -->
                        <div class="card-body">
                            <table id="employeeWritPetitionTable" class="table table-bordered table-striped table-sm">
                                <thead>
                                    <tr>
                                        <th>S.No.</th>
                                        <th>Court</th>
                                        <th>Writ Petition No.</th>
                                        <th>Parties Name</th>
                                        <th>Case Description</th>
                                        <th>Case Status</th>
                                        <th>Previous Date</th>
                                        <th>Next Date</th>
                                        <th>Authorized Officer</th>
                                        <th>Action</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php $__currentLoopData = $EmployeeWritPetition; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $EmployeeWritPetition): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($loop->iteration); ?></td>
                                        <td><a href="<?php echo e(url('/view-employee-write-petition/'.$EmployeeWritPetition->WritPetitionId)); ?>"
                                                target="_blank"><?php echo e($EmployeeWritPetition->Court); ?></a></td>
                                        <td><?php echo e($EmployeeWritPetition->WritPetitionNo); ?></td>
                                        <td><?php echo e($EmployeeWritPetition->PartyName); ?></td>
                                        <td><?php echo e($EmployeeWritPetition->CaseDescription); ?></td>
                                        <td><?php echo e($EmployeeWritPetition->CaseStatus); ?></td>
                                        <td><?php echo e($EmployeeWritPetition->PrevDate); ?></td>
                                        <td><?php echo e($EmployeeWritPetition->NextDate); ?></td>
                                        <td><?php echo e($EmployeeWritPetition->AuthorizedOfficer); ?></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 type="button" class="dropdown-item btn btn-default"
                                                        href="<?php echo e(url('/view-employee-write-petition/'.$EmployeeWritPetition->WritPetitionId)); ?>"
                                                        target="_blank">View</a>

                                                        <?php if($EmployeeWritPetition->ApprovalLock == 0): ?>
                                                        <button type="button" class="dropdown-item btn btn-default"
                                                        onclick="editWritePetition('<?php echo e($EmployeeWritPetition->WritPetitionId); ?>')"
                                                        ; class="btn btn-xs btn-outline-info" data-id="">Edit</button>
                                                        <button type="button" class="dropdown-item btn btn-default"
                                                        onclick="deleteWritePetition('<?php echo e($EmployeeWritPetition->WritPetitionId); ?>')"
                                                        ; class="btn btn-xs btn-outline-danger"
                                                        data-id="'<?php echo e($EmployeeWritPetition->WritPetitionId); ?>'">Delete</button>
                                                        <?php endif; ?>
                                                </div>
                                            </div>

                                        </td>
                                    </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                </tbody>
                            </table>
                        </div>
                        <!-- /.card-body -->
                    </div>
                    <!-- /.card -->
                    </form>
                </div>
                <!-- /.col -->
            </div>
            <!-- /.row -->

        </div>
        <!-- /.container-fluid -->
    </section>
    <!-- /.content -->
</div>




<script>
    function formReset()
  { 
    Swal.fire({
            title: 'Do Want to reset form?',
            text: "Are you sure you want to reset this form!",
            icon: 'warning',
            showCancelButton: true,
            confirmButtonColor: '#3085d6',
            cancelButtonColor: '#d33',
            confirmButtonText: 'Yes, reset it!'
        }).then(function() {
            $('form#paySlipForm').each(function() {
                    this.reset();
                });
        });
  }
</script>

<script>
    $(function() {
            $("#employeeWritPetitionTable").DataTable({
                "responsive": true,
                "lengthChange": true,
                "autoWidth": false,
                "lengthMenu": [10, 20, 50, 100, 250, 500],
                //"buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
            }).buttons().container().appendTo('#userTable_wrapper .col-md-6:eq(0)');
        });
</script>
<!-- /.content-wrapper -->
<?php if (isset($component)) { $__componentOriginale98c201a410a0d732479f43a1d5e3421638ea89c = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\EmployeePetitionModal::class, []); ?>
<?php $component->withName('EmployeePetitionModal'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale98c201a410a0d732479f43a1d5e3421638ea89c)): ?>
<?php $component = $__componentOriginale98c201a410a0d732479f43a1d5e3421638ea89c; ?>
<?php unset($__componentOriginale98c201a410a0d732479f43a1d5e3421638ea89c); ?>
<?php endif; ?>
<?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/resources/views/admin/Reports/employee-writ-petition.blade.php ENDPATH**/ ?>