first commit
This commit is contained in:
No files matched your search
@@ -0,0 +1,55 @@
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h5>Rencana Pulang</h5>
|
||||
<form id="frm_report" target="report" method="post" action="<?php echo _BASE_.'report/index.php?page=raw_rencana_krs'; ?>">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2">Tanggal</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" name="tanggal_rencana_pulang_start" value="<?php echo date('Y-m-d'); ?>" class="form-control datepicker">
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" name="tanggal_rencana_pulang_end" value="<?php echo date('Y-m-d'); ?>" class="form-control datepicker">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2">Pilih Ruang</label>
|
||||
<div class="col-sm-2">
|
||||
<select name="POLIKLINIK" id="kdpoly" class="form-control " style="width:100%" title="*">
|
||||
<option value=""> - Pilih Ruangan - </option>
|
||||
<?php
|
||||
$sql = $db->query("SELECT no as kode,nama from m_ruang where subsistem like 'RAWAT INAP%' and st_aktif = 1 order by nama asc");
|
||||
foreach($sql->fetchAll() as $data){
|
||||
if($KDPOLY == $data['kode']): $zx = 'selected="selected"'; else: $zx = ''; endif;
|
||||
echo '<option value="'.$data['kode'].'" '.$zx.'>'.$data['nama'].'</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label> </label>
|
||||
<button class="btn btn-primary" type="submit" ><i class="fa fa-eye-open"></i> Preview</button>
|
||||
</div>
|
||||
</form>
|
||||
<hr>
|
||||
<div class="row"><div class="col-sm-12">
|
||||
<iframe name="report" src="" style="width:100%;border:1px solid #ccc;height: 400px"></iframe>
|
||||
</div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$("p").click(function(){
|
||||
alert("The paragraph was clicked.");
|
||||
});
|
||||
|
||||
|
||||
$(function(){
|
||||
$(".datepicker").datepicker({
|
||||
format: 'yyyy-mm-dd',
|
||||
autoclose: true,
|
||||
todayHighlight: true,
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user