|
@ -364,21 +364,21 @@ include "wipwhole-rec-invoice-edit-submit.php"; |
|
|
</td> |
|
|
</td> |
|
|
<td style="vertical-align: middle;">附件</td> |
|
|
<td style="vertical-align: middle;">附件</td> |
|
|
<td style="vertical-align: middle;"> |
|
|
<td style="vertical-align: middle;"> |
|
|
<!-- <input style="width:70%;display:inline;" type="file" id="customer_planning_verify_file" name="customer_planning_verify_file" <?php |
|
|
<input style="width:70%;display:inline;" type="file" id="customer_planning_verify_file" name="customer_planning_verify_file" <?php |
|
|
if (isset($row2['change_status'])) { |
|
|
if (isset($row2['change_status'])) { |
|
|
echo $row2['change_status'] === 'Z' ? "" : "disabled"; |
|
|
echo $row2['change_status'] === 'Z' ? "" : "disabled"; |
|
|
} else { |
|
|
} else { |
|
|
echo "disabled"; |
|
|
echo "disabled"; |
|
|
} |
|
|
} |
|
|
?>> |
|
|
?>> |
|
|
<?php |
|
|
<?php |
|
|
echo !empty($row['customer_planning_verify_file']) ? "<a id='customer_planning_verify_file_a' style='color:#00F;' href='" . $row['customer_planning_verify_file'] . "' target='_blank'>下載附件</a>" : ""; |
|
|
// echo !empty($row['customer_planning_verify_file']) ? "<a id='customer_planning_verify_file_a' style='color:#00F;' href='" . $row['customer_planning_verify_file'] . "' target='_blank'>下載附件</a>" : ""; |
|
|
?> --> |
|
|
?> |
|
|
<?php |
|
|
<?php |
|
|
$customer_planning_verify_files = getAllCustomerPlanningVerify($link, $id); |
|
|
$customer_planning_verify_files = getAllCustomerPlanningVerify($link, $id); |
|
|
foreach ($customer_planning_verify_files as $row2) : |
|
|
foreach ($customer_planning_verify_files as $row2) : |
|
|
echo "<a id='customer_planning_verify_file_a' style='color:#00F;' |
|
|
echo "<a id='customer_planning_verify_file_a' style='color:#00F;' |
|
|
href='" . $row2['customer_planning_verify_file'] . "' target='_blank'>下載附件_" . $row2['create_at'] . "</a><br/>"; |
|
|
href='" . $row2['customer_planning_verify_file'] . "' target='_blank'>下載附件_" . $row2['custom_name'] . "_" . $row2['create_at'] . "</a><br/>"; |
|
|
endforeach; |
|
|
endforeach; |
|
|
?> |
|
|
?> |
|
|
</td> |
|
|
</td> |
|
@ -1330,7 +1330,7 @@ include "wipwhole-rec-invoice-edit-submit.php"; |
|
|
<!-- <tr> |
|
|
<!-- <tr> |
|
|
<td style="vertical-align: middle">發包類型</td> |
|
|
<td style="vertical-align: middle">發包類型</td> |
|
|
<td> |
|
|
<td> |
|
|
<input type='radio' name='outsourcer_type' id='outsourcer_type_I' value='I' /> |
|
|
<input type='radio' name='outsourcer_type' id='outsourcer_type_I' value='I' checked /> |
|
|
<label for='outsourcer_type_I'>安裝</label> |
|
|
<label for='outsourcer_type_I'>安裝</label> |
|
|
<input type='radio' name='outsourcer_type' id='outsourcer_type_T' value='T' /> |
|
|
<input type='radio' name='outsourcer_type' id='outsourcer_type_T' value='T' /> |
|
|
<label for='outsourcer_type_T'>試車</label> |
|
|
<label for='outsourcer_type_T'>試車</label> |
|
@ -1912,10 +1912,11 @@ include "wipwhole-rec-invoice-edit-submit.php"; |
|
|
|
|
|
|
|
|
// if (outsourcer_type === 'I') { |
|
|
// if (outsourcer_type === 'I') { |
|
|
// // 預計安裝開工日 |
|
|
// // 預計安裝開工日 |
|
|
// Date.prototype.addDays = function(days) { |
|
|
// let tmp = Date.prototype.addDays = function(days) { |
|
|
// this.setDate(this.getDate() + days); |
|
|
// this.setDate(this.getDate() + days); |
|
|
// return this; |
|
|
// return this; |
|
|
// } |
|
|
// } |
|
|
|
|
|
// alert(tmp); |
|
|
|
|
|
|
|
|
// } |
|
|
// } |
|
|
// if (outsourcer_type === 'T') { |
|
|
// if (outsourcer_type === 'T') { |
|
|