|
@ -1,10 +1,21 @@ |
|
|
<table id="table_index2" class="table table-striped table-bordered dt-responsive nowrap" style="width:98.5%"> |
|
|
<?php |
|
|
|
|
|
$tableArr = array( |
|
|
|
|
|
"All" => "table_index2", |
|
|
|
|
|
"A" => "table_index3", |
|
|
|
|
|
"B" => "table_index4", |
|
|
|
|
|
"C" => "table_index5", |
|
|
|
|
|
"D" => "table_index6", |
|
|
|
|
|
"Z" => "table_index7" |
|
|
|
|
|
); |
|
|
|
|
|
?> |
|
|
|
|
|
<table id="<?php echo $tableArr[$key]; ?>" class="table table-striped table-bordered dt-responsive nowrap" style="width:98.5%"> |
|
|
<thead> |
|
|
<thead> |
|
|
<tr> |
|
|
<tr> |
|
|
<th style="vertical-align: middle;text-align:center;">合約號</th> |
|
|
<th style="vertical-align: middle;text-align:center;">合約號</th> |
|
|
<th style="vertical-align: middle;text-align:center;">汰改種類</th> |
|
|
<th style="vertical-align: middle;text-align:center;">汰改種類</th> |
|
|
<th style="vertical-align: middle;text-align:center;">電梯編號</th> |
|
|
<th style="vertical-align: middle;text-align:center;">電梯編號</th> |
|
|
<th style="vertical-align: middle;text-align:center;">客戶姓名</th> |
|
|
<th style="vertical-align: middle;text-align:center;">客戶姓名</th> |
|
|
|
|
|
<th style="vertical-align: middle;text-align:center;">規格</th> |
|
|
<th style="vertical-align: middle;text-align:center;">地址</th> |
|
|
<th style="vertical-align: middle;text-align:center;">地址</th> |
|
|
<th style="vertical-align: middle;text-align:center;">工勘狀態</th> |
|
|
<th style="vertical-align: middle;text-align:center;">工勘狀態</th> |
|
|
<th style="vertical-align: middle;text-align:center;">下單日<br />(普來特富)</th> |
|
|
<th style="vertical-align: middle;text-align:center;">下單日<br />(普來特富)</th> |
|
@ -20,6 +31,17 @@ |
|
|
<tbody> |
|
|
<tbody> |
|
|
<?php |
|
|
<?php |
|
|
foreach ($dataDetailsArr as $key => $data) : |
|
|
foreach ($dataDetailsArr as $key => $data) : |
|
|
|
|
|
|
|
|
|
|
|
//規格 |
|
|
|
|
|
$Specification = $data['facility_kind']; |
|
|
|
|
|
$Specification .= !empty($data['numberofpassenger']) ? "-" . $data['numberofpassenger'] : ""; |
|
|
|
|
|
$Specification .= !empty($data['weight']) ? "-" . $data['weight'] : ""; |
|
|
|
|
|
$Specification .= !empty($data['numberofstop']) ? "-" . $data['numberofstop'] : ""; |
|
|
|
|
|
$Specification .= !empty($data['numberoffloor']) ? "/" . $data['numberoffloor'] : ""; |
|
|
|
|
|
$Specification .= !empty($data['opentype']) ? "-" . $data['opentype'] : ""; |
|
|
|
|
|
$Specification .= !empty($data['speed']) ? $data['speed'] : ""; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 營業 |
|
|
// 營業 |
|
|
$data['yingyeok'] = 0; |
|
|
$data['yingyeok'] = 0; |
|
|
// 設計 |
|
|
// 設計 |
|
@ -81,7 +103,7 @@ |
|
|
<tr> |
|
|
<tr> |
|
|
<td> |
|
|
<td> |
|
|
<?php |
|
|
<?php |
|
|
if (in_array($department_id, [311, 312, 313, 314,315, 501, 511, 512, 513, 514, 220, 911])) { |
|
|
if (in_array($department_id, [311, 312, 313, 314, 315, 501, 511, 512, 513, 514, 220, 911])) { |
|
|
$sql = " |
|
|
$sql = " |
|
|
SELECT |
|
|
SELECT |
|
|
mid, |
|
|
mid, |
|
@ -110,6 +132,7 @@ |
|
|
</td> |
|
|
</td> |
|
|
<td><?php echo $data['facilityno']; ?></td> |
|
|
<td><?php echo $data['facilityno']; ?></td> |
|
|
<td><?php echo $data['custom']; ?></td> |
|
|
<td><?php echo $data['custom']; ?></td> |
|
|
|
|
|
<td><?php echo $Specification; ?></td> |
|
|
<td><?php echo $data['address']; ?></td> |
|
|
<td><?php echo $data['address']; ?></td> |
|
|
<?php |
|
|
<?php |
|
|
foreach ($site_survey_status as $key => $val) { |
|
|
foreach ($site_survey_status as $key => $val) { |
|
|