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.
131 lines
4.1 KiB
131 lines
4.1 KiB
<?php
|
|
include "header.php";
|
|
?>
|
|
|
|
<div class="container">
|
|
|
|
<?php
|
|
|
|
include "repair-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="fixnumber">維修編號</label>
|
|
<input type="text" name="fixnumber" id="fixnumber" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="customerid">客戶編號</label>
|
|
<input type="text" name="customerid" id="customerid">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="contractno">合約編號</label>
|
|
<input type="text" name="contractno" id="contractno" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="facilityno">電梯編號</label>
|
|
<input type="text" name="facilityno" id="facilityno" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="damage_detail">故障內容</label>
|
|
<input type="text" name="damage_detail" id="damage_detail" >
|
|
</div>
|
|
|
|
<!--
|
|
<div>
|
|
<label for="file_path">上傳圖片</label>
|
|
<input type="text" name="file_path" id="file_path" >
|
|
</div>
|
|
-->
|
|
|
|
<div>
|
|
<label for="contact_person">聯絡人</label>
|
|
<input type="text" name="contact_person" id="contact_person" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="contact_number">聯繫電話</label>
|
|
<input type="text" name="contact_number" id="contact_number" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="repairerid">保養人員工號</label>
|
|
<input type="text" name="repairerid" id="repairerid" value="<?php echo $user_id; ?>">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="repairername">保養人員</label>
|
|
<input type="text" name="repairername" id="repairername" value="<?php echo $user_name; ?>">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="phone_call_help">技術支持電話</label>
|
|
<input type="text" name="phone_call_help" id="phone_call_help" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="actual_repairerid">實際處理人員工號</label>
|
|
<input type="text" name="actual_repairerid" id="actual_repairerid" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="actual_repairername">實際處理人員</label>
|
|
<input type="text" name="actual_repairername" id="actual_repairername" >
|
|
</div>
|
|
|
|
<div>
|
|
<label for="progress_flag">處理進度</label>
|
|
<Select name="progress_flag" id="progress_flag" required>
|
|
<option selected="selected" disabled="disabled" style="display: none" value=""></option>
|
|
<Option Value="C">修理中</Option>
|
|
<Option Value="E">結案</Option>
|
|
</Select>
|
|
<!-- <input type="text" name="status" id="status"> -->
|
|
</div>
|
|
|
|
<div>
|
|
<label for="memo">備註</label>
|
|
<input type="text" name="memo" id="memo" >
|
|
</div>
|
|
|
|
<div>
|
|
<!-- <label for="create_date">報修時間</label> -->
|
|
<input type="hidden" name="create_date" id="create_date" value="<?php echo date('Y/m/d H:i:s'); ?>">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="start_date">開始處理時間</label>
|
|
<input type="text" name="start_date" id="start_date" value="<?php echo date('Y/m/d H:i:s'); ?>">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="end_date">結案時間</label>
|
|
<input type="text" name="end_date" id="end_date" value="<?php echo date('Y/m/d H:i:s'); ?>">
|
|
</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"; ?>
|
|
|