  
  
  <?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 class="active">Submitted Payments</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('/admin/profile/index')?>"><i class="icon-gear"></i>Profile Details</a>
                </ul>
              </li>
            </ul>
<?php $__env->stopSection(); ?>

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

<div class="row">
             <div class="col-md-12">

            <div class="panel panel-white">
            <div class="panel-heading">
              <h6 class="panel-title">Submitted Payments</h6>
              <div class="heading-elements">
                <ul class="icons-list">
                          <li><a data-action="collapse"></a></li>
                          <li><a data-action="reload"></a></li>
                         
                        </ul>
                      </div>
            </div>
            <div class="table-responsive">
             <div class="table-responsive">

              <table id="lease-table" class="table table-hover table-striped table-bordered" style="width:100%;">
              <thead>
              <tr class="info">
              <th>Invoice #</th>
              <th>Method</th>
              <th>Date</th>
              <th>RefNo</th>
              <th>Space</th>
              <th>Property</th>
               
               <th>AmountPaid</th>
              
              <th>ApprovalStatus</th>
              <th>Action</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("tenants/payments/fetch_submitted_payments")?>',
                      columns: [
                  {data: 'invoice_number', name: 'invoices.invoice_number'},
                  {data: 'method', name: 'submitted_payments.method'},
                  {data: 'transaction_date', name: 'submitted_payments.transaction_date'},
                  {data:'ref_no',name:'submitted_payments.ref_no'},
                  {data:'number',name:'spaces.number'},
                  {data:'title',name:'properties.title'},
                  {data:'amount_paid',name:'submitted_payments.amount_paid'},
                 {data:'approve_status',name:'submitted_payments.approve_status'},
                   {data:'action',name:'submitted_payments.created_at'},
              ],
             });
           </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/submitted_payment.blade.php ENDPATH**/ ?>