Create a function in PHP to calculate next availability
- or -
Post a project like this2056
£60(approx. $75)
- Posted:
- Proposals: 5
- Remote
- #2103086
- Awarded
Description
Experience Level: Entry
We have a PHP Laravel 5.6 based production planner which allows us to time track the bays within our fabrication company.
We require a function creating that will calculate the next available time that a particular bay is available based on the information provided.
The function needs to realise that the bays have set times of being opened (7am-3pm weekdays), do not open weekends, nor do they open on bank holidays. There may also be unplanned downtime where the bay is taken "offline" and as such, the function will also need to calculate any pending jobs and add the new job in at the end.
Data provided to the function is:
The last job's starting time
The last job's length in minutes
The bay META data (includes JSON array of start/end times broken up by day)
The changeover time of the bay (in minutes, defaults 15mins)
This is hosted in a private repository on BitBucket, to which read/write permissions can be given to the successful candidate.
A strong background in OOP/BDD programming is required.
We require a function creating that will calculate the next available time that a particular bay is available based on the information provided.
The function needs to realise that the bays have set times of being opened (7am-3pm weekdays), do not open weekends, nor do they open on bank holidays. There may also be unplanned downtime where the bay is taken "offline" and as such, the function will also need to calculate any pending jobs and add the new job in at the end.
Data provided to the function is:
The last job's starting time
The last job's length in minutes
The bay META data (includes JSON array of start/end times broken up by day)
The changeover time of the bay (in minutes, defaults 15mins)
This is hosted in a private repository on BitBucket, to which read/write permissions can be given to the successful candidate.
A strong background in OOP/BDD programming is required.
Bubble M.
100% (1)Projects Completed
2
Freelancers worked with
2
Projects awarded
33%
Last project
4 Feb 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Does it allow doing partial jobs? (e.g. 2 hours today and 6 more on Monday)
691336
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