|
@ -116,6 +116,9 @@ input[type=submit], input[type=button] { |
|
|
.dollar-right { |
|
|
.dollar-right { |
|
|
text-align: right; |
|
|
text-align: right; |
|
|
} |
|
|
} |
|
|
|
|
|
.star { |
|
|
|
|
|
color: red; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> |
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> |
|
|
<script> |
|
|
<script> |
|
@ -342,7 +345,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ |
|
|
?> |
|
|
?> |
|
|
<form class="form-inline" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" enctype="multipart/form-data"> |
|
|
<form class="form-inline" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" enctype="multipart/form-data"> |
|
|
<div> |
|
|
<div> |
|
|
<label for="contractno">客戶合約號</label> |
|
|
<label for="contractno">客戶合約號<span class="star">*</span></label> |
|
|
<input type="text" name="contractno" id="contractno" required> |
|
|
<input type="text" name="contractno" id="contractno" required> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
@ -351,16 +354,16 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ |
|
|
</div> |
|
|
</div> |
|
|
<div class="nextline"></div> |
|
|
<div class="nextline"></div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="repair_no">報價單編號</label> |
|
|
<label for="repair_no">報價單編號<span class="star">*</span></label> |
|
|
<input type="text" name="repair_no" id="repair_no" value="<?php echo $repair_no; ?>" readonly> |
|
|
<input type="text" name="repair_no" id="repair_no" value="<?php echo $repair_no; ?>" readonly> |
|
|
</div> |
|
|
</div> |
|
|
<div class="nextline"></div> |
|
|
<div class="nextline"></div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="sign_date">簽訂日期</label><br> |
|
|
<label for="sign_date">簽訂日期<span class="star">*</span></label><br> |
|
|
<input type="date" name="sign_date" id="sign_date" value="<?php echo date('Y-m-d'); ?>" required> |
|
|
<input type="date" name="sign_date" id="sign_date" value="<?php echo date('Y-m-d'); ?>" required> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="company">公司地址</label> |
|
|
<label for="company">公司地址<span class="star">*</span></label> |
|
|
<select name="masada_addr" id="masada_addr" required> |
|
|
<select name="masada_addr" id="masada_addr" required> |
|
|
<option value=""></option> |
|
|
<option value=""></option> |
|
|
<?php |
|
|
<?php |
|
@ -371,11 +374,11 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ |
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="company">客戶名稱</label> |
|
|
<label for="company">客戶名稱<span class="star">*</span></label> |
|
|
<input type="text" name="company" id="company" size="30" required> |
|
|
<input type="text" name="company" id="company" size="30" required> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="facilityno">電梯編號</label> |
|
|
<label for="facilityno">電梯編號<span class="star">*</span></label> |
|
|
<input type="text" name="facilityno" required> |
|
|
<input type="text" name="facilityno" required> |
|
|
<select name="facilityno" required> |
|
|
<select name="facilityno" required> |
|
|
<option value=""></option> |
|
|
<option value=""></option> |
|
@ -383,19 +386,19 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ |
|
|
</div> |
|
|
</div> |
|
|
<div class="nextline"></div> |
|
|
<div class="nextline"></div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="address">工程地址</label> |
|
|
<label for="address">工程地址<span class="star">*</span></label> |
|
|
<input type="text" name="address" id="address" size="50" required> |
|
|
<input type="text" name="address" id="address" size="50" required> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="taxid">客戶統一編號</label> |
|
|
<label for="taxid">客戶統一編號<span></span></label> |
|
|
<input type="text" name="taxid" id="taxid" maxlength="8" required> |
|
|
<input type="text" name="taxid" id="taxid" maxlength="8"> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="invoice">客戶發票抬頭</label> |
|
|
<label for="invoice">客戶發票抬頭<span class="star">*</span></label> |
|
|
<input type="text" name="invoice" id="invoice" size="30" required> |
|
|
<input type="text" name="invoice" id="invoice" size="30" required> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div> |
|
|
<label for="repairerid">申請人</label> |
|
|
<label for="repairerid">申請人<span class="star">*</span></label> |
|
|
<select name="repairerid" id="repairerid" required> |
|
|
<select name="repairerid" id="repairerid" required> |
|
|
<option value=""></option> |
|
|
<option value=""></option> |
|
|
<?php |
|
|
<?php |
|
@ -418,7 +421,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ |
|
|
<table id="tb1" class="table table-bordered"> |
|
|
<table id="tb1" class="table table-bordered"> |
|
|
<thead> |
|
|
<thead> |
|
|
<tr> |
|
|
<tr> |
|
|
<th colspan="10"><a href="javascript:void(0);" id="btnadd" class="btn btn-primary btn-sm">新增</a></th> |
|
|
<th colspan="10"><a href="javascript:void(0);" id="btnadd" class="btn btn-primary btn-sm">新增備品</a> <span class="star">*</span></th> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<th nowrap>名稱</th> |
|
|
<th nowrap>名稱</th> |
|
@ -476,7 +479,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ |
|
|
<table class="table table-bordered"> |
|
|
<table class="table table-bordered"> |
|
|
<thead> |
|
|
<thead> |
|
|
<tr> |
|
|
<tr> |
|
|
<th colspan="10">簽核操作</th> |
|
|
<th colspan="10">簽核操作<span class="star">*</span></th> |
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
|
<tbody> |
|
|
<tbody> |
|
|