|
From: Bob S. <bo...@pr...> - 2000-11-14 13:53:49
|
I have just finished updating CVS with numerous updates to add support for entering end_time and fixing time calculations (I hope I got them all). Also added trailing ":00" to time strings before storing. Another item I did was to rename the newjobslist.php file back to jobslist.php, in order to remove any idea that it has to do with new jobs. Best thing for anyone to do is use the cvs update command to update everything. A previous posting to this list showed how the end_time field can be updated to calculate the values for existing entries, but I am pretty sure it only works in MySQL v3.23+ in it's current form. The end_time field must be manually added at this time to the job_details table. Regarding entering data for the end_time, the num_hours field is still shown as a read-only value with a Update button next to it if someone wants to check the value. The javascript function that does this updating is also called when the submit button is pressed, so it is not necessary to use the update button at all unless you want a visual check. Of course, it would be nice to also have the num_hours input be able to update the end_time field too, but I am not up to it yet (javascript is tricky enough for me with the simple things). Bob S. ______________________________________________________________________ Bob Schader Computer Systems Manager Product Design International, Inc. 4880 36th St. SE, Suite 100 Grand Rapids, MI 49512 Voice: (616) 667-2600 x104 Fax: (616) 667-2692 |