	
	
<?php $__env->startSection('header'); ?>
<div class="heading-elements">
                            <div class="heading-btn-group">
                                <a href="<?=url('/backend/invoices/index')?>" class="btn btn-link btn-float has-text"><i class="icon-calculator text-primary"></i> <span>Invoices</span></a>
                <a href="#" class="btn btn-link btn-float has-text"><i class="icon-calendar5 text-primary"></i> <span>Schedule</span></a>
                                <a href="<?=url('backend/property/statistics');?>" class="btn btn-link btn-float has-text"><i class="icon-bars-alt text-primary"></i><span>Statistics</span></a>
                                
                                
                            </div>
                        </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('breadcrumb'); ?>
<ol class="breadcrumb pull-left">
       <li><a href="#">Home</a></li>
        <li><a href="<?=url('/backend/tenant/dashboard')?>"></span>Tenant Dashboard</a></li>
        <li><a href="<?=url('/backend/v-notice/index')?>"></span>V-Notices</a></li>
        <li class="active">Index</li>
</ol>
<ul class="breadcrumb-elements">
              <li><a href="#"><i class="icon-comment-discussion position-left"></i> Support</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <i class="icon-gear position-left"></i>
                  Settings
                  <span class="caret"></span>
                </a>

                <ul class="dropdown-menu dropdown-menu-right">
                  <li><a href="<?=url('/account/settings')?>"><i class="icon-user-lock"></i> Account security</a></li>
                  <li><a href="<?=url('/backend/property/statistics')?>"><i class="icon-statistics"></i> Analytics</a></li>
                  <li><a href="<?=url('/account/settings')?>"><i class="icon-accessibility"></i> Accessibility</a></li>
                  <li class="divider"></li>
                  <li><a href="<?=url('/account/settings')?>"><i class="icon-gear"></i> All settings</a></li>
                </ul>
              </li>
            </ul>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<?php echo $__env->make('backend::tenants.t_head', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<p></p>

             <div class="panel panel-white">
                <div class="panel-heading">
                  <h6 class="panel-title">Lease Expiration </h6>

                  


                </div>
                
              <div class="panel-body">
              <div class="row">

                 <div class="col-md-12">
               <div class="btn-group">
              <a type="button" class="btn btn-info" target="_blank" href="<?=url('/backend/reports/lease_expiry?status='.$status)?>">Export To PDF</a>
              <a type="button" class="btn btn-success"  href="<?=url('/backend/reports/tenants/xls')?>"  >Export To Excel</a>
              <a href="<?=url('/backend/reports/tenants/csv')?>" type="button" class="btn btn-danger">Export To CSV</a>
              </div>
                
              </div>
              </div>
              




                  <div class="row">






                   
            
           
              <div class="table-responsive">

              <table id="lease-table" class="table table-hover table-striped table-bordered" style="width:100%;">
              <thead>
              <tr class="info">
              <th>Action</th>
              <th>Tenant</th>
              <th>Property </th>
              <th>Unit </th>
              <th>Lease Start</th>
              <th>Lease End</th>
              
              
              
              <th>Status</th>
             
              
               
              
            </tr>
            </thead>
            <tbody>
            
            



            </tbody>

            </table>



              </div>
               </div>

              </div>

              </div>

              <?php $__env->stopSection(); ?>
  <?php $__env->startPush('scripts'); ?>
           <script>
             $("#lease-table").dataTable({
              processing: true,
              serverSide: true,
              ajax: '<?=url("backend/leases/fetch_leases")?>/'+'<?=$status?>',
                      columns: [
                 {data: 'action', name: 'action',searchable:false,orderable:false},
                  {data: 'name', name: 'name'},
                  {data:'title',name:'title'},
                  {data:'number',name:'number'},
                  {data: 'entry_date', name: 'entry_date'},
                  {data:'expected_end_date',name:'expected_end_date'},
                  
                 
                  {data:'current_status',name:'current_status'},
                  
              ],
             });
           </script>
           <?php $__env->stopPush(); ?>


<?php echo $__env->make('layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/realestate/Modules/Backend/Providers/../Resources/views/tenants/_e_index.blade.php ENDPATH**/ ?>