<?php foreach($kontak as $kontak) :   endforeach; ?>
<?php foreach($admin_login as $user) :   endforeach; ?> 
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0 text-dark"> 
            		 <?php echo $title1; ?>
            </h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active"><?php echo $title1; ?></li>
            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
	    
          
       <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
           
          <!-- right column -->
          <div class="col-md-6">
            <!-- general form elements disabled -->
            <div class="card card-warning">
              <div class="card-header">
                <h3 class="card-title">Laporan Pilihan Tanggal</h3>
              </div>
              <!-- /.card-header -->
              <div class="card-body">
                 <form role="form" method="post" target="blank" action="<?php echo base_url('laporan/cetak_laporan_history_kasir_delete');?>">
              		<div class="card-body">
              			<div class="row">
              				<script>
              					$(function () {
              					})
              				</script>
              				<div class="col-sm-6">
              					<div class="form-group">
              						<label>Date awal:</label>
              						<div class="input-group date" id="reservationdate" data-target-input="nearest">
              							<input type="date" placeholder="dari tanggal_akhir" name="tanggal_awal" class="form-control  " />
              							<div class="input-group-append" data-target="#reservationdate" data-toggle="">
              								<div class="input-group-text"><i class="fa fa-calendar"></i></div>
              							</div>
              						</div>
              					</div>
              				</div>

              				<div class="col-sm-6">
              					<div class="form-group">
              						<label>Date akhir:</label>
              						<div class="input-group date" id="reservationdate" data-target-input="nearest">
              							<input type="date" name="tanggal_akhir" class="form-control"  data-target="#reservationdate" placeholder="sampai tanggal" />
              							<div class="input-group-append" data-target="#reservationdate" data-toggle="">
              								<div class="input-group-text"><i class="fa fa-calendar"></i></div>
              							</div>
              						</div>
              					</div>
              				</div>
              			</div>
              			<div class="row">
              				<div class="col-sm-12">
              					<div class="form-group">
              						<label for="exampleInputEmail1">Pilih Kantor </label>
              						<select class="form-control" name="id_kantor" >
              							<option value="all">Semua</option>
              							<?php $no=1; foreach($kantor2 as $kantor2) : ?> 
              							
              							<option value="<?php echo $kantor2->id_kantor; ?>"><?php echo $kantor2->nama_kantor; ?></option>
              							<?php $no++; endforeach; ?>
              						</select>
              						 <input type="hidden" name="jenis_laporan" value="pilihan">
              					</div>
              				</div>
              				 
              			</div>
              			<div class="row">
                      <div class="col-sm-12"> 
                       <div class="form-group">
                        <label for="exampleInputEmail1">Pilih Kasir </label>
                        <select class="form-control" name="id_admin" >
                          <option value="all">Semua</option>
                          <?php $no=1; foreach($admin as $a) : ?> 

                          <option value="<?php echo $a->id; ?>"><?php echo $a->nama_admin; ?></option>
                          <?php $no++; endforeach; ?>
                        </select>
                      </div>
                    </div>

                  </div>
              			 
              			 
              		</div>
              		<!-- /.card-body -->

              		<div class="card-footer">
              			<button type="submit" class="btn btn-primary">Cetak</button>
              		</div>
              	</form>
              </div>
              <!-- /.card-body -->
            </div>
            <!-- /.card -->
            
          </div>
          <!--/.col (right) -->
        </div>
        <!-- /.row -->
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

  	 