From 55df402487a6778a0c46e9419a81192d369c6e2f Mon Sep 17 00:00:00 2001 From: LEE Wei Cheng Date: Fri, 20 Oct 2023 16:46:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A4=8D=E7=89=A9=E5=9C=92?= =?UTF-8?q?=E5=A4=A7=E5=AE=A2=E8=BB=8A=E4=BB=A3=E7=A2=BC1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/Carpayment_model.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/models/Carpayment_model.php b/models/Carpayment_model.php index 00fae5c..3a36564 100644 --- a/models/Carpayment_model.php +++ b/models/Carpayment_model.php @@ -459,14 +459,7 @@ class Carpayment_model extends CI_Model } else if($cario['station_no'] == 40704) { - if(substr($cario['in_out'], 0, 1) === 'C') - { - return 1; // 1: 平面 (一般車) - } - else - { - return 2; // 2: 平面 (大客車車) - } + return 1; } return 1; // 預設值