Search found 6 matches

by lumirl
Tue Aug 20, 2019 12:11 am
Forum: Developers
Topic: API how to get is user is clocked in or clocked out - getUserPunch
Replies: 6
Views: 253

Re: API how to get is user is clocked in or clocked out - getUserPunch

I have solved my issue already. This is basically the whole code without the initial functions to login and posturl. =========================================== $arguments = array( 'filter_data' => array( 'phone_id' => $argv[1], ) ); $user_data = postToURL( buildURL( 'APIUser', 'getUser' ), array( $...
by lumirl
Mon Aug 19, 2019 1:13 pm
Forum: Developers
Topic: API how to get is user is clocked in or clocked out - getUserPunch
Replies: 6
Views: 253

Re: API how to get is user is clocked in or clocked out - getUserPunch

No - I said that I know how to add punch and adding punches works fine.
I need to know whether the punch was IN or OUT for that user who did the punch.
Because its set as automatic punch in type.
by lumirl
Mon Aug 19, 2019 11:29 am
Forum: Developers
Topic: API how to get is user is clocked in or clocked out - getUserPunch
Replies: 6
Views: 253

Re: API how to get is user is clocked in or clocked out - getUserPunch

Thank you for your reply. I am trying to add punch in and I want to get a reply if the punch was a clock in or clock out. The punch in is set for status_id=0 - automatic. So after they punch in I want to get a reply for the same user if he is clocked in or clocked out. So what APi method can I use f...
by lumirl
Mon Aug 19, 2019 2:34 am
Forum: Developers
Topic: API how to get is user is clocked in or clocked out - getUserPunch
Replies: 6
Views: 253

API how to get is user is clocked in or clocked out - getUserPunch

Hello, I am trying to get if a user has clocked in or clocked out. From reading forums I understood that the api function getUserPunch should tell me this. But I can't make it work. I can add punches for a user. And because punches are set for automatic type (status_id=0) need to find out if the pun...
by lumirl
Mon Aug 05, 2019 2:38 am
Forum: Installation Help
Topic: Unable to complete installation
Replies: 9
Views: 393

Re: Unable to install Timetrex on Ubuntu

Hello,
there is a new version of Postgres 11.4.1 and still I cannot install your timetrex.
I cannot downgrade according your howto because I have Ubunutu 16.04
So what is the workaround for me?
by lumirl
Mon Jul 29, 2019 8:23 am
Forum: Installation Help
Topic: Unable to complete installation
Replies: 9
Views: 393

Re: Unable to complete installation

Hello but the problem to install TimeTrex is also with the latest version of Postgresql for Ubuntu - psql (11.4 (Ubuntu 11.4-1.pgdg16.04+1)) Still it fails while filling in the main database during the install process. What is the manual workaround to install it please? I can't install TimeTrex to t...