';
}
}
diff --git a/application/third_party/trainsystem/models/BIZ_train_model.php b/application/third_party/trainsystem/models/BIZ_train_model.php
index 032ae2a4..00970446 100644
--- a/application/third_party/trainsystem/models/BIZ_train_model.php
+++ b/application/third_party/trainsystem/models/BIZ_train_model.php
@@ -328,9 +328,9 @@ class BIZ_train_model extends CI_Model {
}
- //获取能够自动出票的订单列表2.0版本 20240130 zp
+ //获取能够自动出票的订单列表2.0版本 20240130 zp (coli_state 11 我的订单 8 已收款 63 出票中 13 新订单(已支付))
function auto_check_ticket_2(){
- $sql = "SELECT distinct top 2 COLD_SN ,coli_id,COLD_SPFS,COLI_State,(SELECT TOP 1 GAI_Type FROM BIZ_GroupAccountInfo WHERE GAI_COLI_SN=bcli.COLI_SN AND ISNULL(DeleteFlag,0)=0) as GAI_Type
+ $sql = "SELECT distinct top 10 COLD_SN ,coli_id,COLD_SPFS,COLI_State,(SELECT TOP 1 GAI_Type FROM BIZ_GroupAccountInfo WHERE GAI_COLI_SN=bcli.COLI_SN AND ISNULL(DeleteFlag,0)=0) as GAI_Type
,cold_startdate
,isnull((select top 1 ts_autotimes from InfoManager.dbo.trainsystem where ts_cold_sn= bcld.cold_sn order by ts_id desc),0) as ts_autotimes
,(select top 1 ts_autolasttime from InfoManager.dbo.trainsystem where ts_cold_sn= bcld.cold_sn order by ts_id desc) as ts_autolasttime
@@ -353,6 +353,8 @@ class BIZ_train_model extends CI_Model {
where (ts_status='4' or ts_status='3' or ts_status='10') and ts_cold_sn = COLD_SN) ))
AND COLD_SN NOT IN ( select FOI_COLD_SN from BIZ_FlightsOrderInfo where FOI_COLD_SN=COLD_SN and FOI_TrainNetOrderNo>'')
and (COLD_StartDate between GETDATE() and CONVERT(varchar(100),GETDATE()+14,23)+' 23:59')
+ and isnull((select top 1 ts_autotimes from InfoManager.dbo.trainsystem where ts_cold_sn= bcld.cold_sn order by ts_id desc),0)<4
+ order by COLD_StartDate
";
$query = $this->HT->query($sql);
return $query->result();
diff --git a/application/third_party/trainsystem/views/presale_add.php b/application/third_party/trainsystem/views/presale_add.php
new file mode 100644
index 00000000..df41ad7e
--- /dev/null
+++ b/application/third_party/trainsystem/views/presale_add.php
@@ -0,0 +1,30 @@
+
+
+
+
预售时间添加(车站名是中文名)
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/third_party/trainsystem/views/presale_edit.php b/application/third_party/trainsystem/views/presale_edit.php
new file mode 100644
index 00000000..a3fafd22
--- /dev/null
+++ b/application/third_party/trainsystem/views/presale_edit.php
@@ -0,0 +1,31 @@
+
+
+
+
预售时间修改(车站名尽量不要修改)
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/third_party/trainsystem/views/presale_list.php b/application/third_party/trainsystem/views/presale_list.php
new file mode 100644
index 00000000..ac7bace0
--- /dev/null
+++ b/application/third_party/trainsystem/views/presale_list.php
@@ -0,0 +1,54 @@
+
US$189 (6900THB)
Elite service + shuttle transfer + dinner
@@ -35,19 +37,23 @@
- Elite Ticket
-
+ Elite Ticket
+
US$329 (11,750 THB)
- Elite service + exclusive hotel transfer + dinner
+ Elite service + exclusive hotel transfer + dinner
- Premium Ticket
-
+ Premium Ticket
+
US$139 (4900THB)
Premium service + shuttle transfer + dinner
@@ -57,8 +63,10 @@
- Premium Ticket
-
+ Premium Ticket
+
US$179 (6,500 THB)
Premium service + shuttle transfer + dinner
@@ -68,8 +76,10 @@
- VIP Ticket
-
+ VIP Ticket
+
US$109 (3900THB)
VIP service + shuttle transfer + dinner
@@ -79,8 +89,10 @@
- VIP Ticket
-
+ VIP Ticket
+
US$139 (5,000 THB)
VIP service + shuttle transfer + dinner
@@ -108,10 +120,10 @@
-
Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.
Total price: $129
-
Please provide correct personal information for your ticket
+
Please provide correct personal information for your ticket
booking. Double
check.
Please enter your phone number.
-
-
For Elite Ticket bookings on December 31th, please provide your Chiang Mai hotel name and address for pick-up and drop-off purposes.
-
+
+
For Elite Ticket bookings on December 31th, please provide your Chiang Mai hotel name and address for pick-up and drop-off purposes.
+
@@ -395,7 +407,10 @@
-
Once we receive your payment, our travel advisor will contact you within 24 hours and send you your e-ticket.
+
Once we receive your payment, our travel advisor will contact you within 24 hours and send you your e-ticket.