![phoenix](https://d1a29h5kxv3oc2.cloudfront.net/dist/img/phoenix.81914efc7207f6a059bd10f5d3fd5f89.png)
I need help with a relatively complex PHP script for timesheets
- or -
Post a project like this3680
£75(approx. $97)
- Posted:
- Proposals: 5
- Remote
- #497056
- Awarded
Description
Experience Level: Intermediate
General information for the website: Timesheets
Description of requirements/features: I need an expert in PHP to help with a script I have been working on.
It's a script to generate timesheets upon submission of a form. A timesheet is something that a worker might fill out when they work for a company (i.e they fill out hours they worked and it calculates how much to pay them etc).
The problem I have run into is that I've recently changed the script to support multiple breaks (i.e. when a worked has a break from say 12.30pm - 1.30pm). I have also added the ability for the worked to be on a different rate at different times. For example, the worker might get paid the following rates:
09:00 - 10:00 = £10 per hour
10:00 - 11:00 = £15 per hour
11:00 - 18:00 = £20 per hour
Then take for example, the worker works from 09:00 - 16:00. The worker also has 2 breaks at the following times during his working day:
11:00 - 12:00
14:00 - 15:00
These are unpaid breaks and therefore, the worker doesn't get paid during those times. Basically my script should work out, the times worked and amount owed.
It should output an array like the one attached (should.txt) but instead it outputs an array like the one shown in does.txt (attached).
Please message me and I will send you the development URL and FTP access or you can view the code i'm using here: http://pastebin.com/YngM9cgG
Description of requirements/features: I need an expert in PHP to help with a script I have been working on.
It's a script to generate timesheets upon submission of a form. A timesheet is something that a worker might fill out when they work for a company (i.e they fill out hours they worked and it calculates how much to pay them etc).
The problem I have run into is that I've recently changed the script to support multiple breaks (i.e. when a worked has a break from say 12.30pm - 1.30pm). I have also added the ability for the worked to be on a different rate at different times. For example, the worker might get paid the following rates:
09:00 - 10:00 = £10 per hour
10:00 - 11:00 = £15 per hour
11:00 - 18:00 = £20 per hour
Then take for example, the worker works from 09:00 - 16:00. The worker also has 2 breaks at the following times during his working day:
11:00 - 12:00
14:00 - 15:00
These are unpaid breaks and therefore, the worker doesn't get paid during those times. Basically my script should work out, the times worked and amount owed.
It should output an array like the one attached (should.txt) but instead it outputs an array like the one shown in does.txt (attached).
Please message me and I will send you the development URL and FTP access or you can view the code i'm using here: http://pastebin.com/YngM9cgG
![Vanilla Software L.](https://dw3i9sxi97owk.cloudfront.net/uploads/thumbs/7e109906142e3e81308ba2f31c14f0f7_150x150.png)
Vanilla Software L.
100% (6)Projects Completed
10
Freelancers worked with
10
Projects awarded
29%
Last project
14 May 2015
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies