disable rounding

Discussion for TimeTrex open source community developers.
Locked
andrewbauman
Posts: 43
Joined: Mon Jan 23, 2012 9:40 am

disable rounding

Post by andrewbauman »

Hi
I need to disable rounding to the minute because my staff
go from one department to the next in less than a minute.
I have tried using the disable_rounding in the data array but have no success.

is there a special way to get timetrex to not round to the minute?


$data[] = array(
'user_id' => $barcode,
'time_stamp' => $time_stamp,
'date_stamp' => $date_stamp,
'branch_id' => 1,
'department_id' => $department,
'status_id' => $status,
'disable_rounding' => 1,
//'type_id' => 0,
'transfer' => $transfer,
//'punch_control_id' => 0,
'station_id' => $station_id
);
Andrew Bauman
Locked