From 9cc467cc3ca17361893acbf0dba0e6d834e83267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Wed, 5 Jun 2019 14:50:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E9=A6=88=E8=A1=A8=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=93=E5=88=A9=E5=8F=8D=E9=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gys_system/models/groupinfo_model.php | 2 +- gys_system/views/feedback_detail.php | 46 +++++++++++++++++++-------- 2 files changed, 34 insertions(+), 14 deletions(-) diff --git a/gys_system/models/groupinfo_model.php b/gys_system/models/groupinfo_model.php index 59493a9b..eaa59bec 100644 --- a/gys_system/models/groupinfo_model.php +++ b/gys_system/models/groupinfo_model.php @@ -204,7 +204,7 @@ class Groupinfo_model extends CI_Model { ESI_LeaveCity, ESI_ServiceCity, ESI_ServiceType, - ESI_ServiceSN, + IsNull(ESI_ServiceSN,0) as ESI_ServiceSN, ESI_ServiceSN2, ESI_ServiceName, ESI_Describe, diff --git a/gys_system/views/feedback_detail.php b/gys_system/views/feedback_detail.php index b39593e0..31aae60a 100644 --- a/gys_system/views/feedback_detail.php +++ b/gys_system/views/feedback_detail.php @@ -31,6 +31,7 @@ $guide_rate_index = 0; foreach ($service_item_info as $key => $item) { $count_rate_index++; + //echo $item->ESI_Rate. ' '; $count_rate = $count_rate + $item->ESI_Rate; if ($item->ESI_ServiceType == 'W') { $guide_rate_index++; @@ -118,7 +119,7 @@ ?> ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?> - + @@ -139,7 +140,7 @@ ?> ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?> - + @@ -155,11 +156,11 @@ ESI_ServiceType == 'A' || $item->ESI_ServiceType == 'C' || $item->ESI_ServiceType == '7') { + if ($item->ESI_ServiceType == 'A' || $item->ESI_ServiceType == 'C' || ($item->ESI_ServiceType == '7' && $item->ESI_ServiceSN==0)) { ?> ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?> - + @@ -169,7 +170,26 @@ } } ?> - + +

4. Our Spotlight Experience(s)

+ + ESI_ServiceType == '7' && $item->ESI_ServiceSN>0) { + ?> + + ESI_Describe)?$item->ESI_ServiceName:$item->ESI_Describe; ?> + + + + + + + + @@ -181,7 +201,7 @@ switch ($group_service->QSFour) { case 223005: ?> -

4. What do you think of #QSFourServiceName; ?>#?

+

5. What do you think of #QSFourServiceName; ?>#?

@@ -192,7 +212,7 @@ break; case 223006: ?> -

4.What were the most enjoyable or memorable parts of your trip?

+

5.What were the most enjoyable or memorable parts of your trip?

@@ -203,7 +223,7 @@ break; case 223007: ?> -

4.If you could take your trip again, what would you do differently?

+

5.If you could take your trip again, what would you do differently?

@@ -225,7 +245,7 @@ switch ($group_service->QSFive) { case 223008: ?> -

5. Did you recommend #QSFiveServiceName; ?>#?

+

6. Did you recommend #QSFiveServiceName; ?>#?

@@ -237,7 +257,7 @@ break; case 223009: ?> -

5. Did your guide take you to any shops/factories or tried to influence you to do so?

+

6. Did your guide take you to any shops/factories or tried to influence you to do so?

@@ -250,7 +270,7 @@ break; case 223010: ?> -

5. Did your tour guide ‘go the extra mile’?

+

6. Did your tour guide ‘go the extra mile’?

@@ -263,7 +283,7 @@ break; case 223011: ?> -

5. Did your tour guide take our sign/logo when met at the airport?

+

6. Did your tour guide take our sign/logo when met at the airport?

@@ -280,7 +300,7 @@
-

6. Are you willing to recommend us on Trip Advisor?

+

7. Are you willing to recommend us on Trip Advisor?