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.
66 lines
1.9 KiB
66 lines
1.9 KiB
<?php
|
|
include "header.php";
|
|
?>
|
|
|
|
<div class="container">
|
|
|
|
<?php
|
|
|
|
include "delivery_log-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="delivery_no">貨運單號</label>
|
|
<input type="text" name="delivery_no" id="delivery_no" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="issue_time">實際抵達時間</label>
|
|
<input type="text" name="issue_time" id="issue_time" value="<?php echo date('Y/m/d H:i:s'); ?>">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="location">地點</label>
|
|
<input type="text" name="location" id="location">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="memo">備註</label>
|
|
<input type="text" name="memo" id="memo" >
|
|
</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"; ?>
|
|
|