We have a small existing project time clocking application. The project was written in CodeIgniter. The logic in the program does not work correctly and the time sheet reports do not match up to physical record keeping. We are in need of a programmer that can make the programmatic changes without having to rewrite the program.
The logic should work as follows:
At 6:45 all users need to be logged into waiting time (CRON job)
User punches in on job (time is recorded)
User punches into new job or punches out of previous job (time on the job is calculated and recorded) IF user logs out of job but not into new job, the user needs to be logged into waiting time automatically.
At lunch time 12:00 all users need to be logged into after hours (CRON job)
After lunch 13:00 all users need to be logged into waiting time (CRON job)
At 16:00 all users need to be logged into after hours (CRON job)
Full program is included in the zip file, including current sample data.
On page / controller http://localhost:8080/projectfiles/protime/v2/
The user their project and name and clocks in. The model checks if the user is already logged in, it not, it writes a punch to table punch. If user is logged in, the model selects the last logged in record, adds the times and writes to table time, then writes a punch to table punch.
if an employee punches on the same job they are currently punched into, the system calculates time spent on the job and writes to the table time. then the user is automatically punched into waiting time.
All hours that are not clocked on a project should be clocked to waiting time to make 8 hours for the day between 7am and 4:30pm.
The page controller http://localhost:8080/projectfiles/protime/v2/[login to view URL]
generates a report of the employee for all projects between start date and end date
http://localhost:8080/projectfiles/protime/v2/[login to view URL]
generates a report of all employees working on a specified project between start date and end date
There are 4 cron jobs:
one that runs at 7:00 to clock everyone into waiting time.
one that runs at 12:30 to clock everyone into after hours.
on that runs at 13:00 to clock everyone back to waiting time.
and one that runs at 16:30 to clock everyone to after hours.
The problem that we have at the moment is that the logic is not working and the employees are being logged out and in of jobs and waiting time in the wrong order. If you run a report you will see the times do not total anything close to 8 working hours.
We need this fixed today. If you are not 100% confident that you can complete the requests today, please do not bid on the job. It's a simple project but we do not have the time to spend on it.
Once this job is completed there will be more work on the project.