Explorar el Código

更新植物園大客車代碼1

master
LEE Wei Cheng hace 2 años
padre
commit
6d6c444002
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  1. +8
    -1
      models/Carpayment_model.php

+ 8
- 1
models/Carpayment_model.php Ver fichero

@@ -459,7 +459,14 @@ class Carpayment_model extends CI_Model
}
else if($cario['station_no'] == 40704)
{
return 1;
if(substr($cario['in_out'], 0, 1) === 'C')
{
return 1; // 1: 植物園 (一般車)
}
else
{
return 2; // 2: 植物園平面 (大客車)
}
}
return 1; // 預設值


Cargando…
Cancelar
Guardar