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.
77 lines
2.6 KiB
77 lines
2.6 KiB
<?php
|
|
include "header.php";
|
|
?>
|
|
<script>
|
|
$(function () {
|
|
$('#accountid').keyup(function(){ $(this).val($(this).val().replace(/[^\w\.\/]/ig,'')); })
|
|
$('#facilityno').keyup(function(){ $(this).val($(this).val().replace(/[^\w\.\/]/ig,'')); })
|
|
});
|
|
</script>
|
|
<div class="container">
|
|
|
|
<?php
|
|
|
|
include "wipinstallation-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="accountid">客戶帳號</label>
|
|
<input type="text" name="accountid" id="accountid" maxlength="10" required>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="facilityno">電梯編號</label>
|
|
<input type="text" name="facilityno" id="facilityno" required>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="issue_time">時間</label><br>
|
|
<input type="date" name="issue_time" id="issue_time" value="" required>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="process">階段</label>
|
|
<select name="process" id="process" required>
|
|
<option value="">請選擇</option>
|
|
<option value="進場施工">進場施工</option>
|
|
<option value="安裝">安裝</option>
|
|
<option value="試車">試車</option>
|
|
<option value="交車">交車</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div>
|
|
<label for="creater">建檔人</label>
|
|
<input type="text" name="creater" id="creater" value="<?php echo $user_id; ?>" readonly>
|
|
<p class="error"><?php echo $creater_error; ?></p>
|
|
</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>
|
|
<br>
|
|
<button type="submit" name="submit">確定</button>
|
|
</div>
|
|
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
|
</form>
|
|
</div>
|
|
|
|
<?php include "footer.php"; ?>
|
|
|