
<?= $this->extend('Page_layout') ?>
<?= $this->section('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>Deal Job & Payment Report</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
            
              <li class="breadcrumb-item active">Deal Job & Payment Report</li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">

      <!-- Default box -->
      <div class=" card card-primary ">
        <div class="bg-olive card-header">
          <h3 class="card-title">Deal Job & Payment Report</h3>

          <div class="card-tools">
            <button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse">
              <i class="fas fa-minus"></i>
            </button>
            <button type="button" class="btn btn-tool" data-card-widget="remove" title="Remove">
              <i class="fas fa-times"></i>
            </button>
          </div>
        </div>
        <div class="card-body">
          <p>Deal Job & Payment Report filter</p>
          <form class="form-horizontal">
                <div class="card-body">
                     <div class="form-group row">
                    <label for="names" class="col-sm-2 col-form-label">Year</label>
                    <div class="col-sm-4">
                      <input type="text" class="form-control" id="name" placeholder="Input Name">
                    </div>
                  </div>
                   <div class="form-group row">
                    <label for="names" class="col-sm-2 col-form-label">Month</label>
                    <div class="col-sm-4">
                      <input type="text" class="form-control" id="name" placeholder="Input Name">
                    </div>
                  </div>
                  <div class="form-group row">
                    <label for="names" class="col-sm-2 col-form-label">Talent name</label>
                    <div class="col-sm-4">
                      <input type="text" class="form-control" id="name" placeholder="Input Name">
                    </div>
                  </div>
                
                   <div class="form-group row">
                    <label for="names" class="col-sm-2 col-form-label">Status paid from client</label>
                    <div class="col-sm-4">
                     <select class="form-control">
                          <option>- ALL -</option>
                          <option>Paid</option>
                          <option>Not yet</option>
                       
                        </select>
                    </div>
                  </div>
                   <div class="form-group row">
                    <label for="names" class="col-sm-2 col-form-label">Status paid to client</label>
                    <div class="col-sm-4">
                     <select class="form-control">
                          <option>- ALL -</option>
                          <option>Paid</option>
                          <option>Not yet</option>
                       
                        </select>
                    </div>
                  </div>
                

                  
                   <button type="submit" class="btn btn-info">Search</button>
              </form>
                </div>

             <div class="col-12" style="overflow-x:scroll">
             <table id="example2" style="width:1000px;" class="table table-bordered table-hover">
                  <thead>
                  <tr>
                     <th>Year</th>
                    <th>Month</th>
                  
                    <th>Talent Name</th>
                    <th>Product</th>
                     <th>Deal by</th>
                    
                    <th>Deal Value</th>
                    <th>Status paid from client</th>
                     <th>Date of payment from client</th>
                    <th>Detail status</th>
                    <th>Status paid to talent</th>
                     <th>Date of payment to talent</th>
                     <th>Detail status</th>
                    <th>Invoice</th>
                    <th>Invoice number</th>
                    <th>Contract</th>
                    <th>Tax paid</th>
                    <th>Faktur pajak</th>
                 
                    
                  </tr>
                  </thead>
                  <tbody>
                  <tr>
                    <td>2022</td>
                    <td>January</td>
                  
                    <td>John doe</td>
                    <td>Pepsodent</td>
                    <td>Esc</td>
                    <td>10.000.000</td>
                    <td>Paid</td>
                    <td>12/10/2019</td>
                    <td>no detail status</td>
                    <td>Paid</td>
                    <td>12/10/2019</td>
                    <td>no detail status</td>
                   
                    <td>INV/01/20222</td>
                    <td>KDD/02/01002</td>
                    <td>1.500.000</td>
                    <td>PJK.01.00212</td>
                    <td>PJK.01.00212</td>
                  </tr>
                    <tr>
                <td>2022</td>
                    <td>January</td>
                  
                    <td>John doe</td>
                    <td>Pepsodent</td>
                    <td>Esc</td>
                    <td>10.000.000</td>
                    <td>Paid</td>
                    <td>12/10/2019</td>
                    <td>no detail status</td>
                    <td>Paid</td>
                    <td>12/10/2019</td>
                    <td>no detail status</td>
                   
                    <td>INV/01/20222</td>
                    <td>KDD/02/01002</td>
                    <td>1.500.000</td>
                    <td>PJK.01.00212</td>
                      <td>PJK.01.00212</td>
                  </tr>
                  
                  </tbody>
                  <tfoot>
                  <tr>
                       <th>Year</th>
                    <th>Month</th>
                  
                    <th>Talent Name</th>
                    <th>Product</th>
                     <th>Deal by</th>
                    
                    <th>Deal Value</th>
                    <th>Status paid from client</th>
                     <th>Date of payment from client</th>
                    <th>Detail status</th>
                    <th>Status paid to talent</th>
                     <th>Date of payment to talent</th>
                     <th>Detail status</th>
                    <th>Invoice</th>
                    <th>Invoice number</th>
                    <th>Contract</th>
                    <th>Tax paid</th>
                    <th>Faktur pajak</th>
                  </tr>
                  </tfoot>
                </table>
                 </div>
        </div>
        <!-- /.card-body -->
        <div class="card-footer">
            </div>
        <!-- /.card-footer-->
      </div>
      <!-- /.card -->

    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  </div>



   <?= $this->endSection() ?> 

  <?=$this->section("scripts")?>
<script src="<?=base_url('public/plugins/jquery-ui/jquery-ui.js')?>"></script>  
<script src="<?=base_url('public/plugins/datatables/jquery.dataTables.min.js')?>"></script>
<script src="<?=base_url('public/plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')?>"></script>
<script src="<?=base_url('public/plugins/datatables-responsive/js/dataTables.responsive.min.js')?>"></script>
<script src="<?=base_url('public/plugins/datatables-responsive/js/responsive.bootstrap4.min.js')?>"></script>
<script src="<?=base_url('public/plugins/datatables-buttons/js/dataTables.buttons.min.js')?>"></script>
<script src="<?=base_url('public/plugins/datatables-buttons/js/buttons.bootstrap4.min.js')?>"></script>
<script src="<?=base_url('public/plugins/jszip/jszip.min.js')?>"></script>
<script src="<?=base_url('public/plugins/pdfmake/pdfmake.min.js')?>"></script>
<script src="<?=base_url('public/plugins/pdfmake/vfs_fonts.js')?>"></script>
<script src="<?=base_url('public/plugins/datatables-buttons/js/buttons.html5.min.js')?>"></script>
<script src="<?=base_url('public/plugins/datatables-buttons/js/buttons.print.min.js')?>"></script>
<script src="<?=base_url('public/plugins/datatables-buttons/js/buttons.colVis.min.js')?>"></script>

<script>
  $(function () {
   
    $('#example2').DataTable();

  });

</script>

<?=$this->endSection()?>
