<div style="margin: 0 auto;top: 50%;margin-top: 1%;margin-bottom: 25px;">
		<div class="detil" style="background-color:white;border-color: white;font-size:14px;margin-top:25px;width: 80%;margin: 0 auto;">
			<div id="sub_title" style="padding:10px;color:#5FB85C;text-align:center;">INFO DATA BUGS & ERROR</div>
			<form id="frm_testing_dev" style="background:white;margin:0;" method="POST" action="<?php echo base_url().'manage_testing_dev/validate_update';?>">
				<table id="tableDetilPerkara">
					<col width="20%">
					<col width="80%">
					<tbody>
						<tr>
							<td>Tanggal Percobaan<font color="red">*</font></td>
							<td style="padding:0px;padding-left:5px;background:white;"><?php echo $tglLapor;?></td>
						</tr>
						<tr>
							<td>Dicoba Oleh<font color="red">*</font></td>
							<td style="padding:0px;padding-left:5px;background:white;"><?php echo $try_by;?></td>
						</tr>
						<tr>
							<td>Jenis Error/Bugs</td>
							<td style="padding:0px;padding-left:5px;background:white;"><?php echo $error_type;?></td>
						</tr>
						<tr>
							<td>Deskripsi Error</td>
							<td style="background:white;" id="deskripsi_error_text">
								<input type="hidden" id="enc" name="enc" value="<?php echo $enc;?>">
								<?php echo $deskripsi_error;?>
							</td>
						</tr>
						<tr>
							<td>Respond Message</td>
							<td style="background:white;" id="status_text">
							<?php echo $this->ckeditor->editor("status",$status_penanganan);?>
							</td>
						</tr>
						<tr>
							<td>Status</td>
							<td style="padding:0px;padding-left:5px;">
								<span class="custom-dropdown custom-dropdown--emerald" style="width:180px">
									<select style="width:180px" name="status_perbaikan" id="status_perbaikan" class="custom-dropdown__select custom-dropdown__select--white">
										<option value="3"> On Progress/Reviewed</option>
										<option value="4"> Done</option>
										<option value="5"> Rejected</option>
									</select>
								</span>
							</td>
						</tr>
						<tr>
							<td>Ditangani Oleh</td>
							<td style="padding:0px;padding-left:5px;">
								<span class="custom-dropdown custom-dropdown--emerald" style="width:180px;height: 29px;">
									<select style="width:180px" name="ditangani_oleh" id="ditangani_oleh" class="custom-dropdown__select custom-dropdown__select--white">
										<option value="0"> Pilih Person</option>
										<option value="1"> Adit</option>
										<option value="2"> Atria</option>
										<option value="3"> Catur</option>
										<option value="4"> Didik</option>
										<option value="5"> Dodon</option>
										<option value="6"> Puji</option>
										<option value="7"> Roby</option>
										<option value="8"> Tri</option>
									</select>
								</span>
							</td>
						</tr>
						<tr>
							<td colspan="2" style="background:white;" align="center">
								<input type="button" id="back" value="Kembali" class="btn">
								<input type="submit" id="simpan_btn" value="Simpan" class="btn">
							</td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
<script type="text/javascript">
$('#back').closingFormWin();
$('#frm_testing_dev').SubmitHandling({
	refresh:'1',
	setRefresh:1,
	divRef:'#konten',
	clicked:1,
	btnClicked:'#back',
	whenStatus:1,
	isCKEdit:1,
	tdID:'status_text',
	textID:'status',
});
$( function() {
        $('#tgl_percobaan').datepicker({
            inline: true,
            showOtherMonths: true,
            dateFormat: 'dd/mm/yy',
            dayNamesMin: ['Ming', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'],
            onSelect: function(dateText, inst) {
                var date = $(this).datepicker('getDate');
                var dayOfWeek = weekday[date.getDay()];
                var error = 0;
                var message ='';
                var tmp = $(this).val().split("/");
                var tmp2 = $('#curr_date').val().split("/");

                if(dayOfWeek=='Sunday' || dayOfWeek=='Saturday'){
                    message ='Tidak Dapat Memilih diluar Hari Kerja.';
                    error = 1;
                }

                if((new Date(tmp[2],tmp[1],tmp[0]).getTime() > new Date(tmp2[2],tmp2[1],tmp2[0]).getTime())){
                    message = 'Tidak Dapat Memilih Melebihi Hari ini. Sekarang Tanggal '+$('#curr_date').val();
                    error = 1
                }

                if(error==1){
                    message_error_show(message);
                    $(this).css("background-color", "red");
                }else{
                    $(this).css("background-color", "#dedbdb");
                }

            }
        });
});
</script>