<?php $__env->startSection('title','Case'); ?>

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

   <div class="">
       <div class="page-title">
              <div class="title_left">
                <h3>Cases</h3>
              </div>

              <div class="title_right">
                <div class="form-group pull-right top_search">
                    <?php if($adminHasPermition->can(['case_add'])): ?>
                      <a href="<?php echo e(route('case-running.create')); ?>" class="btn btn-primary">Add Case</a>
                    <?php endif; ?>

                </div>
              </div>
            </div>



            <div class="clearfix"></div>
            <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">

              <div class="x_content">

                <div class="row">


                    <div class="col-md-4 col-sm-12 col-xs-12 form-group">
                     <label for="fullname">From Next Date: <span class="text-danger"></span></label>
                    <input type="text" class="form-control dateFrom" id="date_from"  readonly="">
                  </div>
                   <div class="col-md-4 col-sm-12 col-xs-12 form-group">
                     <label for="fullname">To Next Date: <span class="text-danger"></span></label>
                     <input type="text" class="form-control dateTo" id="date_to" readonly="">
                   </div>
                    <div class="col-md-4 col-sm-12 col-xs-12 form-group">


                      <div class="case-margin-top-23"></div>
                      <a href="#" class="btn btn-danger" id="clear">Clear</a>
                     <button type="submit" id="search" disabled="disabled"  class="btn btn-success"> <i class="fa fa-search"></i> Search</button>
                   </div>

                </div>

              </div>
            </div>

            </div>

            </div>
            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">

                  <div class="x_content">



                  <div class="" role="tabpanel" data-example-id="togglable-tabs">
                     <ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">

                <li role="presentation" class="<?php echo e((Request::is('admin/case-running'))?'active':''); ?> ">
                  <a   href="<?php echo e(url('admin/case-running')); ?>">Running Cases</a>
                </li>

                <li role="presentation"  class="<?php echo e((Request::is('admin/case-important'))?'active':''); ?> ">
               <a  href="<?php echo e(url('admin/case-important')); ?>">Important Cases</a>
                </li>

                <li role="presentation" class="<?php echo e((Request::is('admin/case-nb'))?'active':''); ?> ">
                  <a   href="<?php echo e(url('admin/case-nb')); ?>">No Board Cases</a>
              </li>
                <li role="presentation" class="<?php echo e((Request::is('admin/case-archived'))?'active':''); ?> ">
                 <a   href="<?php echo e(url('admin/case-archived')); ?>">Archived Cases</a>
              </li>

                   </ul>

  </div>

                     <table id="case_list" class="table" >
                        <thead>
                            <tr>
                                <th width="3%">No</th>
                                <th width="20%">Client & Case Detail</th>
                                <th width="35%">Court Detail</th>
                                <th width="20%">Petitioner vs Respondent</th>
                                <th width="10%">Next Date</th>
                                <th width="9%">Status</th>
                                <th width="3%">Action</th>
                            </tr>
                        </thead>

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






            </div>
   </div>
   

   <!-- /page content end  -->


   <div class="modal fade" id="modal-case-priority"  role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content" id="show_modal">

        </div>
    </div>
</div>

<div class="modal fade" id="modal-change-court"  role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content" id="show_modal_transfer">

        </div>
    </div>
</div>

   <div class="modal fade" id="modal-next-date"  role="dialog">
    <div class="modal-dialog" role="document">
        <div class="modal-content" id="show_modal_next_date">

        </div>
    </div>
</div>
   <input type="hidden" name="get_case_important_modal"
          id="get_case_important_modal"
          value="<?php echo e(url('admin/getCaseImportantModal')); ?>">

   <input type="hidden" name="get_case_next_modal"
          id="get_case_next_modal"
          value="<?php echo e(url('admin/getNextDateModal')); ?>">

   <input type="hidden" name="get_case_cort_modal"
          id="get_case_cort_modal"
          value="<?php echo e(url('admin/getChangeCourtModal')); ?>">

   <input type="hidden" name="case_url"
          id="case_url"
          value="<?php echo e(url('admin/allCaseList')); ?>">

   <input type="hidden" name="token-value"
          id="token-value"
          value="<?php echo e(csrf_token()); ?>">

   <input type="hidden" name="date_format_datepiker"
          id="date_format_datepiker"
          value="<?php echo e($date_format_datepiker); ?>">

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

<?php $__env->startPush('js'); ?>
   <script src="<?php echo e(asset('assets/js/case/case-important-datatable.js')); ?>"></script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.layout.app', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>