You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
3.5 KiB
PHP

<?php
include "../func_lib.php";
session_start();
if($_SESSION['validUser'] !== TRUE)
{
header("location: ./index.php");
exit();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>:: Pengadaan Barang</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../css/css.css" />
<link rel="stylesheet" type="text/css" href="../css/jqModal.css" />
<link rel="stylesheet" type="text/css" href="../css/dialogcustom.css" />
<link rel="stylesheet" type="text/css" href="../css/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="../css/jquery.autocomplete.css" />
<link rel="stylesheet" type="text/css" href="../css/superfish.css" media="screen">
<script type="text/javascript" src="../js/superfish.js"></script>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-ui.min.js"></script>
<script type="text/javascript" src="../js/jqModal.js"></script>
<script type="text/javascript" src="../js/jquery.form.js"></script>
<script type="text/javascript" src="../js/jquery.visibility.js"></script>
<script type="text/javascript" src="../js/jquery.autocomplete.js"></script>
<script type="text/javascript" src="../js/shortcut.js"></script>
<script type="text/javascript">
$(function(){
function customRange(input) {
return {minDate: (input.id == 'endDate' ? $('#startDate').datepicker('getDate') : null),
maxDate: (input.id == 'startDate' ? $('#endDate').datepicker('getDate') : null)};
}
$('#startDate,#endDate').datepicker({
beforeShow: customRange,
dateFormat: 'dd-mm-yy',
showOn: 'both',
buttonImage: './img/calendar.gif',
buttonImageOnly: true
});
$('#ak7').bind('click', function(){
var startDate = $('#startDate').val();
var endDate = $('#endDate').val();
if(startDate != '' && endDate != ''){
$('#form_ak7').submit();
}else{
alert('Masukkan tanggal awal dan tanggal akhir!');
}
});
});
</script>
</head>
<body>
<div id="content">
<div class="headermenu">
<p id="top">Cleopatra Minimarket</p>
</div>
<div class="c_content">
<?php include "./menu.php"; ?>
<fieldset>
<legend><strong>Laporan AK.7 (Pantauan Persediaan)</strong></legend>
<div id="body_content">
<span style="color: red;"> 1.Pastikan tanggal di komputer server benar sebelum menjalankan laporan ini</span><br />
<span style="color: red;"> 2.Laporan harus dijalankan setiap hari, terutama setelah semua proses entry data selesai</span>
<form action="lap_ak7.php" name="form_ak7" id="form_ak7" method="post">
<center>
<table>
<tr><td>Bulan </td><td>: <input type="text" size="5" value="" id="bulan" name="bulan" />[1,2,3,dst]<span style="color: red;"> * </span></tr>
<tr><td>Tahun </td><td>: <input type="text" size="6" value="" id="tahun" name="tahun" /><span style="color: red;"> * </span>
<td><input type="button" value="Proses Laporan AK7" id="ak7" /></td></tr>
</table>
<span style="color: red;"> * kolom harus diisi</span>
</center>
</form>
</div>
</div>
<div class="footer">
<?php include ("../footer.php");?>
</div>
</div>
</body>
</html>