This is a Python Dash web app that allows users who work in retail/fast food sectors (or any other sector where they are paid by the hour) to enter their work schedule and save it on their cell phone or computer
WHSdemo.mp4
On opening the web app, a page will appear showing three input forms.
Note: The instructions below feature screenshots of the web app on an Android device using Brave Browser. The web app might look different depending on the type of device and web browser
- Tap/Click the first input form
- Select the date you will be working on
- Tap/Click the 2nd input form
- Select your shift start time
- Tap/Click the 3rd input form to enter the time your shift ends
- After entering the necessary details, Tap/Click on "Add to Schedule" button
Voila!!! The shift for February 1st is added to the list
-
Repeat the steps to enter the dates and times for your other shifts
-
Once you are done entering the timings, Tap/Click the "Download ICS file" to download the ICS calendar file
-
After downloading the ICS file, open it. Your smartphone or computer will open the inbuilt Calendar and show you the shift timings.
- Finally press Save or Add All (depends on the device) to save the timings in your device.
And Voila!!! The shift timings are now on your device
For this web app, the following rules are followed to calculate actual paid hours
Scheduled Shift Length | Paid Breaks | Unpaid Breaks |
---|---|---|
4 hours or less (i.e. 12-4, 5-9) | None | None |
4 hours, less than 5 hours (i.e. 9-1:30, 5-9:15) | One 15 minute | None |
5 hours, upto and incl. 7 hours (i.e. 12-5, 9-4, 8-2) | One 15 minute | One half-hour (30 min) |
More than 7 hours, less than 9 hours (i.e. 9-5, 10-5, 1-9) | One 15 minute | One 1 hour |
9 hours or more (i.e. 8-5, 12-9, 7-4) | Two 15 minute | One 1 hour |
Note: Not all companies will necessarily follow this rule