This topic is locked

Calendar as Time Sheet

9/11/2016 4:16:31 PM
PHPRunner General questions
A
admin author

Hi,
I am looking to fulfill 3 different requirements and from what I have read, the Calendar can be used for all 3. (Purchased)

I have not however been able to locate where someone has done this.

  1. Move in/Move out schedules

    [list]
  2. This one is okay



[*]Automatically enter time when logged in/out

  • User logs in, the system create time entry record and time stamps start field
  • User logs out, the system update time entry record and time stamps end field



[*]Press buttons to start and stop time on tickets

  • Engineer working the ticket clicks a button to start and stop work tracking on ticket
  • System add total time to the time entry record with associated ticket number



[/list]
If anyone has implemented anything similar, I would appreciate any guidance.

If you have better ideas on how the above requirements could be met, I would love to hear it.
Not new to coding, but not strong either.
Thanks,

  • Sandy

Admin 9/13/2016

You can definitely make it work.
When user logs in you can use AfterSuccessfulLogin event to create a time entry record. We do not have logout event though and sometimes users do not log out but just close the browser. You will need to implement a custom logout button where you can update time entry record and also destroy session variables.
The same think in regards to #3 - in button's Server code you can add/update data in the database.
I would suggest to start implementing this and once you have hit the wall you can ask more specific questions.

A
admin author 10/13/2016



You can definitely make it work.
When user logs in you can use AfterSuccessfulLogin event to create a time entry record. We do not have logout event though and sometimes users do not log out but just close the browser. You will need to implement a custom logout button where you can update time entry record and also destroy session variables.
The same think in regards to #3 - in button's Server code you can add/update data in the database.
I would suggest to start implementing this and once you have hit the wall you can ask more specific questions.


Thanks Sergey!!
Has anyone built a Time Tracking application or plugin? Have you considered creating an app like the Calendar for Time Tracking? I have been working on this for some time and can not get it to work the way I want it to. Which in turn has me restarting from scratch over and over again.
If anyone has successfully created a time submit, track, approve of anykind, I would appreciate and welcome your help.
Thanks,

  • Sandy

romaldus 10/13/2016



Thanks Sergey!!
Has anyone built a Time Tracking application or plugin? Have you considered creating an app like the Calendar for Time Tracking? I have been working on this for some time and can not get it to work the way I want it to. Which in turn has me restarting from scratch over and over again.
If anyone has successfully created a time submit, track, approve of anykind, I would appreciate and welcome your help.
Thanks,

  • Sandy


i'm working on a a time attendance project with phprunner 9. I will post the project in phprunner tips and trick forum in the next view days .

Admin 10/14/2016

Sandy,
just wanted to say that if you are looking for custom solution feel free to contact support team directly sending your project requirements. Probably this is something that we can help you with.