

<?php $__env->startSection('title'); ?>
All Deduction
<?php $__env->stopSection(); ?>

<?php $__env->startSection('breadcrumb'); ?>
<ol class="breadcrumb pull-right">
        <li><a href="<?php echo e(route('home')); ?>"><i class="fa fa-dashboard"></i> Home</a></li>

        <li class="active">Deduction</li>
      </ol>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('css'); ?>
<style type="text/css">

.fa {
     font-size: 20px !important;

    }
 </style>   
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
  <div class="container-fluid">
    <div class="row">
                    
<div class="col-sm-12">
                        <div class="white-box">

                   
                           
                             <h3 style="text-align: right;" class="box-title m-b-0">
                                <span style="float: left;">Deduction Tittle List</span><a class="btn btn-info btn-sm" href="<?php echo e(route('add.deduction.title')); ?>">Add Deduction Tittle</a></h3>

                            <div class="table-responsive">
                             
                            <?php if(Session::has('success')): ?>   
                            <div id="successMessage" class="alert alert-success" role="alert">
                            <?php echo e(Session::get('success')); ?>

                            </div>
                            <?php endif; ?>

                                <table id="myTable" class="table table-striped table-bordered dataTable color-table primary-table" role="grid" aria-describedby="myTable_info">
                                    <thead>
                                        <tr role="row">
                                        	<th style="color: black;" class="sorting_asc" tabindex="0" aria-controls="myTable" rowspan="1" colspan="1" aria-sort="ascending" aria-label="Name: activate to sort column descending" style="width: 220px;">Name</th>

                                        	<th style="color: black;" class="sorting" tabindex="0" aria-controls="myTable" rowspan="1" colspan="1" aria-label="Office: activate to sort column ascending" style="width: 163px;">Created Date</th>

                                            <th style="color: black;" class="sorting" tabindex="0" aria-controls="myTable" rowspan="1" colspan="1" aria-label="Office: activate to sort column ascending" style="width: 163px;">Action</th>


                                        </tr>
                                    </thead>
                                    <tbody>
  
                                    <?php if( $Deduction_Tittles->count() > 0 ): ?>
                                    <?php $__currentLoopData = $Deduction_Tittles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                                        <tr role="row" class="odd">
                                            <td><?php echo e($list->name); ?></td>
                                            
                                            <td><?php echo e($list->created_at); ?></td>
                                             <td>

                                                <a style="margin-left: 1rem;"  href="<?php echo e(route('edit.deduction.title',[$list->id] )); ?>"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>
                                                &nbsp;
                                                <a style="color:red;" onclick="return validate();" href="<?php echo e(route('delete.deduction.title',[$list->id] )); ?>"><i class="fa fa-trash-o" aria-hidden="true"></i></a>
                                                
                                            </td>

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

                                      
                                    </tbody>
                                </table>
                                
                            </div>
                            </div>
                        </div>
                    </div>


    </div>

      </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>  

<script type="text/javascript">
    function validate()
    { 
        if(!confirm('Are you sure you want to delete?'))
        {
            return false;
        } 
    }
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\akram-city.projecterp.net\resources\views/hrm/Deduction/list-deduction-tittle.blade.php ENDPATH**/ ?>