1. I want the script to lets companies register and add their own employees. The employees can visit the company's URL where they can check their leave balance and can submit leave request. The company link will be as follow: if the name of the firm is Company Airlines then the URL can be [login to view URL]
The company can pick their own URL. If the name has a space then the space should be replace by an underscore. No special characters allow. Another example, if the company name is Jose Deer Construction the URL could be [login to view URL] or [login to view URL]
The admin area for that company will be [login to view URL] and employees login area is at [login to view URL]
Every company has different vacation policies. Some companies give you 5 days vacation at year while others can give 2 weeks or 30 days.
For Company ABC I changed the leave settings and the same changes were transferred to Company Test as well. Here is the settings:
1-36:Months:5:3
37-60:Months:7:5
61:Months:10:5
81:Months:15:10
Every company must have their own data separated. The companies can create their individuals leave settings and vacation policies. I also made changes in Define Days Off at /multivacationscript/admin/[login to view URL] for Company ABC but, those changes were also affected Company Test. Also Define Holidays needs to be for individual companies.
2. Make leave summary report at admin/[login to view URL] able to download to Excel.
3. Make leave list report at admin/[login to view URL] downloadable to Excel.