Training and Vets Schedules
Have implemented a bit of "cleverness" around Schedules today.... this is largely in readiness for the Transport page being almost complete.Now, when you amend your Vet/Training Schedule - whether its on the horse page or on the Training/Vet tabs, it should automatically update ALL copies of the Horse schedule.... whether they be on the Horse Page, or it's Transport Tab, or wherever.
This was quite a tricky update to get in place, particularly having it work out where in a Table to insert a row for new Training/Vet.
The big plus here though, is that when travel is booked it will instantly appear in all schedules rather than prompting for a refresh.
If anyone making vet/training updates in future can keep an eye on schedules after updates, that would be awesome thanks guys.
Just tried to change my vets on the main vet schedule page (about 01.30 TK) and it kept popping up with 'problem encountered - 200 OK'.
ReplyDeleteSame for me. Pretty sure that was working at least on a per horse basis but neither way works now.
DeleteError on individual horse page:
Fatal error: Cannot redeclare output_updates() (previously declared in /var/www/vhosts/trackking.org/httpdocs/hairboylabs/redesign/funcs/tk_basics.php:126) in /var/www/vhosts/trackking.org/httpdocs/hairboylabs/redesign/funcs/inc_updates.php on line 4
Thanks for that guys. Have fixed that bug, and also used the opportunity to make an enhancement.....
DeleteNow, when you update training/vets either way (thru horse or through vet/train pages), it will also update the value in drop-lists on the other page accordingly.