<div class="col-md-6">
		<div class="box box-widget widget-user-2">
			<div class="widget-user-header bg-green">
				<table>
					<tr>
						<td><i class="fa fa-child fa-5x" style="width: 20px;"></i></td>
						<td>
							<h3 class="widget-user-username">Kunjungan</h3>
	              			<h5 class="widget-user-desc">Rawat Jalan Berdasarkan Poliklinik</h5>
	              			<h4 class="widget-user-desc">
	              				<form action="<?php echo site_url('poliklinikcr/search_tanggal');?>" method = "post" class="form-horizontal">

								    <div class="form-group">
			                          <label style="font-weight: 100; text-align: left;" class="col-sm-5 control-label">Tanggal Awal</label>
			                          <div class="col-sm-6">
			                            <input type="date" class="form-control" autofocuss id="date_from" value="" name="tanggal" placeholder="<?php echo date('d, F Y')?>">
			                          </div>
			                        </div>

			                        <div class="form-group">
			                          <label style="font-weight: 100; text-align: left;" class="col-sm-5 control-label">Tanggal Akhir</label>
			                          <div class="col-sm-6">
			                            <input type="date" class="form-control" autofocuss id="date_to" placeholder="<?php echo date('d, F Y')?>" value="" name="tanggal_to"> 
			                          </div>
			                        </div>

								  <button type="submit" class="btn btn-primary"><i class="fa fa-filter"></i> Tampilkan</button>
								</form>
	              			</h4>
	              		</td>
					</tr>
				</table>
            </div>

            
            <div class="box-footer no-padding">
            	<ul class="nav nav-stacked">
                <?php foreach ($poliklinik_now as $row): ?>
                  <li><a target="_blank" href="<?php echo base_url(); ?>home/chart_pendapatan_poliklinik/<?php echo $row->Category; ?>"><?php echo  $row->Category; ?> <span class="badge bg-green pull-right"><?php echo $row->Jumlah; ?></span></a></li>
                <?php endforeach ?>
              
                </ul>
            </div>
        </div>
	</div>