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.
65 lines
2.1 KiB
65 lines
2.1 KiB
<?php
|
|
include "header.php";
|
|
?>
|
|
|
|
<div class="container">
|
|
|
|
<?php
|
|
|
|
include "facility_current_status-record-submit.php";
|
|
/*
|
|
if($_SERVER["REQUEST_METHOD"] == "POST"){
|
|
if(empty($_POST["id"]) && empty($_POST["expert_id"]) && empty($_POST["personal_id"])){
|
|
echo "<p class='error'>Please fill up the required field!</p>";
|
|
} else {
|
|
echo "<p class='success'>Record has added successfully</p>";
|
|
}
|
|
}
|
|
*/
|
|
?>
|
|
|
|
|
|
|
|
<form class="form-inline" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" enctype="multipart/form-data">
|
|
|
|
|
|
<div>
|
|
<label for="contractno">合約號(必填)</label>
|
|
<input type="text" name="contractno" id="contractno" required>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="customerid">顧客編號(必填)</label>
|
|
<input type="text" name="customerid" id="customerid" required>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="facilityno">作番號(必填)</label>
|
|
<input type="text" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="walking_hours">運轉時數(必填)</label>
|
|
<input type="text" name="walking_hours" id="walking_hours" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d)?).*$/g, '$1')" required>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="walking_times">運轉次數(必填)</label>
|
|
<input type="text" name="walking_times" id="walking_times" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d)?).*$/g, '$1')" required>
|
|
</div>
|
|
|
|
|
|
<div>
|
|
<!-- <label for="create_at">create_at</label> -->
|
|
<input type="hidden" name="create_at" id="create_at" >
|
|
<p class="error"><?php echo $create_at_error; ?></p>
|
|
</div>
|
|
|
|
<div>
|
|
<button type="submit" name="submit">確定</button>
|
|
</div>
|
|
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
|
</form>
|
|
</div>
|
|
|
|
<?php include "footer.php"; ?>
|
|
|