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

54 lines
1.5 KiB

<?php include "../header.php";
require_once "../database.php";
global $link;
if (empty($_GET["error_form_key"])) {
list($form_key) = mysqli_fetch_row(mysqli_query($link, "SELECT appwms.nextval('form_key') form_key"));
} else {
$form_key = $_GET["error_form_key"];
}
?>
<div style="margin: 0 auto;width:300px">
<h2>已收款對賬作業</h2>
</div>
<div class="container">
<style>
form>div {
margin: 0;
margin: 0 auto;
}
.form-inline input {
vertical-align: middle;
margin: 0px auto;
padding: 5px;
background-color: #fff;
border: 1px solid #ddd;
}
</style>
<form class="form-inline" method="post" action="paid_customer_detail_submit.php" enctype="multipart/form-data">
<div>
<label for="yyyymm">單號</label>
<input class="form-control" type="text" name="form_key" value=<?= $form_key ?> readonly id="form_key" maxlength="12">
</div>
<div>
<label for="yyyymm">上載年月</label>
<input class="form-control" placeholder="YYYYMM" type="text" name="yyyymm" value=<?= date("Ym") ?> readonly id="yyyymm" maxlength="6">
</div>
<div>
<label for="file">附件</label>
<input class="form-control" type="file" name="file" id="file">
</div>
<div>
<button class="form-control" type="submit" name="submit">確定</button>
</div>
</form>
</div>
<?php include "../footer.php"; ?>