Jump to content

Creating an employee schedule?


chadrt

Recommended Posts

I am in the midst of building a dispatching system that will keep track of calls for a roadside assistance company as well as the clients we serve, drivers on staff, dispatchers etc.  The schedules we create are quite simple they consist of a 7 day week each starting on Wednesday and ending on Tuesday the fields can simply be VARCHAR (20) or something as we use the fields to note Vacation, OFF time, or 24, 6P - 8A, etc..  I am looking for a way to implement the schedule for the drivers, dispatchers and managers via the dispatch system for centralized access to everything.

 

What I see as a dilemma in my feeble little mind may be something quite simple but I am so new to php and mysql that I know almost nothing and I am looking for a way to make this all come together.

 

My problem:  we keep track of the old schedules for this to work we must have some relationship between the schedule table and the users table.  Then be able to generate a weeks worth of schedules for the crew based on input.  But how do I make it so I dont have to create another table for each work week with every driver in it?  I am willing to entertain any thoughts anyone may have on a simple way to accomplish this.  I am just looking for ideas here and once I have the idea in place I will try and build somethign and then maybe I can post the code here and chew it back and forth to figure out works best.  Your help is greatly appreciated...

 

~Chad

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.