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

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

      <!-- Default box -->
      <div class="card card-warning">
        <div class="card-header">
          <h3 class="card-title">Deal Job & Payment</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">
              <button type="submit" class="btn btn-danger" data-toggle="modal" data-target="#form-add">Add Deal Job & Payment</button>
              <hr>
          <p> Deal Job & Payment report filter</p>
         
          <form class="form-horizontal">
                <div class="card-body">
                    <div class="row">
                <div class="col-6">
              
                  <div class="form-group row">
                    <label for="names" class="col-sm-4 col-form-label">Year</label>
                    <div class="col-sm-8">
                      <input type="text" class="form-control" id="name" >
                    </div>
                  </div>
                    <div class="form-group row">
                    <label for="names" class="col-sm-4 col-form-label">Month</label>
                    <div class="col-sm-8">
                      <input type="text" class="form-control" id="name" >
                    </div>
                  </div>
                  <div class="form-group row">
                    <label for="names" class="col-sm-4 col-form-label">Talent name</label>
                    <div class="col-sm-8">
                      <input type="text" class="form-control" id="name" >
                    </div>
                  </div>
                
                  
                     </div>
                        <div class="col-6">
              
                  <div class="form-group row">
                    <label for="names" class="col-sm-6 col-form-label">Status paid from client</label>
                    <div class="col-sm-6">
                      <input type="text" class="form-control" id="name" >
                    </div>
                  </div>
                    <div class="form-group row">
                    <label for="names" class="col-sm-6 col-form-label">Status paid from client</label>
                    <div class="col-sm-6">
                      <input type="text" class="form-control" id="name" >
                    </div>
                  </div>
                 <button type="submit" class="btn btn-info">Search</button>
                 
                     </div>
</div>
              </form>
              
                </div>
<hr>
             <div class="col-12" style="overflow-x:scroll">
             <table id="example2" style="width:1200px;" class="table table-bordered table-hover">
                  <thead>
                  <tr>
                    <th>Action</th>
                    <th>Year</th>
                    <th>Month</th>
                    <th>Nama talent</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>Edit</td>
                    <td>01</td>
                    <td>John Doe</td>
                    <td>John Doe</td>
                    <td>098888822</td>
                    <td>John@gmail.com</td>
                    <td>Jlnm1233</td>
                    <td>10/12/2022</td>
                    <td>01</td>
                    <td>John Doe</td>
                    <td>John Doe</td>
                    <td>098888822</td>
                    <td>John@gmail.com</td>
                    <td>Jlnm1233</td>
                    <td>10/12/2022</td>
                    <td>01</td>
                    <td>John Doe</td>
                    <td>John Doe</td>
  
                  
                  </tr>
                    <tr>
                 <td>Edit</td>
                    <td>01</td>
                    <td>John Doe</td>
                    <td>John Doe</td>
                    <td>098888822</td>
                    <td>John@gmail.com</td>
                    <td>Jlnm1233</td>
                    <td>10/12/2022</td>
                    <td>01</td>
                    <td>John Doe</td>
                    <td>John Doe</td>
                    <td>098888822</td>
                    <td>John@gmail.com</td>
                    <td>Jlnm1233</td>
                    <td>10/12/2022</td>
                    <td>01</td>
                    <td>John Doe</td>
                    <td>John Doe</td>
           
                    
                  </tr>
                  
                  </tbody>
                  <tfoot>
                  <tr>
                      <th>Action</th>
                    <th>Year</th>
                    <th>Month</th>
                    <th>Nama talent</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>
  <?php include('Jobpayment_add.php');?>


   <?= $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()?>
