Find Jobs
Hire Freelancers

Advanced PHP Javascript User Form Problem (Orangehrm)

$30-250 USD

Completed
Posted over 12 years ago

$30-250 USD

Paid on delivery
We have inherited an employee leave/holiday booking application. When booking one day of leave/holiday, the user booking form takes the number of hours applied for (on the form) and compares it to the user's working day/workshift (e.g. 7.6 hours). If the hours leave/holiday applied for (e.g. 6 hours) is less than or equal to the daily hours, or workshift, (e.g. 7.6 hours) then we can book the leave - no problems. If the applied for leave time is above the available daily working hours (or workshift) - then the system will not book the leave and gives an error message (time wanted is longer than available time, or workshift). PROBLEM: BUT...the current system only allows booking time in 15 minute intervals. So we cannot book 7.6 hours (which is the current working daily hours, or workshift), only 7.5 hours. So we are short by a few minutes for each single (complete) day we book off as leave. SOLUTION WANTED: If the user books more than the available daily hours, workshift, (e.g. 9 hours), then the booked hours should auto-set to the maximum available daily hours (e.g. 7.6 hours). I.E. We will always assume the user wants a full working day off if booking over their avialable working hours for one day. This is part of a much bigger solution (OrangeHRM) - but we have narrowed the problem down to 2 php files. One is the user form with javascript ([login to view URL]). The other is a calculation file ([login to view URL]) which works in tandem with the form script. These are included as attachments. We have marked where we think the important bits of code/script are. We need the scripts changing so that when choosing to book a day off, and the hours submitted on the form are greater than the workshift hours, the hours requested auto-set to the workshift hours and the leave request saves without an error message. Feel free to message us for more information.
Project ID: 1392270

About the project

10 proposals
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I can change the code to show more minutes in dropdown, so it will avoid the problem in avoiding some mins in applying leave. Thanks, Suresh
$31 USD in 1 day
5.0 (744 reviews)
7.6
7.6
10 freelancers are bidding on average $99 USD for this job
User Avatar
Hi, We are php/js expert, also familiar with OrangeHrm, check your pm for details. regards
$250 USD in 3 days
5.0 (43 reviews)
6.2
6.2
User Avatar
Hello we are 7 years old web-development company. 6 years of experience in symfony please check our portfolio for more details. please check our review about symfony work. thanks
$175 USD in 2 days
5.0 (17 reviews)
5.1
5.1
User Avatar
As a experienced PHP developer I would be happy to work on that problem. Best Regards Gene
$30 USD in 1 day
4.8 (13 reviews)
4.6
4.6
User Avatar
php/js expert here. very simple task for me.
$33 USD in 1 day
4.8 (6 reviews)
3.6
3.6
User Avatar
Hello Please read more than private message Thank you!
$100 USD in 1 day
3.0 (4 reviews)
3.0
3.0
User Avatar
Bid is for an applied solution which allows for default maximum values to be applied in lieu of error messages, as described in details.
$35 USD in 4 days
4.9 (2 reviews)
2.1
2.1
User Avatar
Hello, please check pmb.
$60 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Ready to do expert in PHP, we can discuss
$250 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
please see pmb.
$30 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I solved the errors please see my private message
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
melbourne, Australia
5.0
15
Payment method verified
Member since May 9, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.