Explorar el Código

15 min free

station_14109
altobaltobaltob hace 8 años
padre
commit
d867aea0ad
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      models/Cars_model.php

+ 2
- 1
models/Cars_model.php Ver fichero

@@ -342,7 +342,8 @@ class Cars_model extends CI_Model
'in_time' => $this->now_str,
'in_lane' => $parms['ivsno'],
'in_pic_name' => empty($parms['pic_name']) ? '' : $parms['pic_name'],
'out_before_time' => date("Y-m-d H:i:s"),
//'out_before_time' => date("Y-m-d H:i:s"),
'out_before_time' => date('Y-m-d H:i:s', strtotime(" + 15 minutes")), // 15分鐘內, 可直接離場
'ticket_no' => $ticket_no
);
$this->db->insert('cario', $data);


Cargando…
Cancelar
Guardar