Removed Leave State Insertion in Leave table
Minor changes on Date Calculation
Minor Change

Indicator for data
Minor Change

Same Day if am to am or pm - pm then length of day is .5
else the length of day is 1
assuming that the user doesn't input pm to am
Data Insert Success

Final Length of days in inserting.

Note: Checking the length of days before inserting is not yet final
Data Check Success

Checking of Data is a success

Note:
holidays , weekend , and other situational events are still not
calculated
AND the time is not yet removed
Error Message

Post Error when leave from and to is on the same day and
from pm to am
Leave Hours Success

Leave Hours validating and database inserting complete

Note:
Time is still not removed
pls remove time and avoid errors.