Browse Source

15 min free

station_14109
altobaltobaltob 8 years ago
parent
commit
d867aea0ad
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      models/Cars_model.php

+ 2
- 1
models/Cars_model.php View File

@@ -342,7 +342,8 @@ class Cars_model extends CI_Model
'in_time' => $this->now_str, 'in_time' => $this->now_str,
'in_lane' => $parms['ivsno'], 'in_lane' => $parms['ivsno'],
'in_pic_name' => empty($parms['pic_name']) ? '' : $parms['pic_name'], '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 'ticket_no' => $ticket_no
); );
$this->db->insert('cario', $data); $this->db->insert('cario', $data);


Loading…
Cancel
Save