Added in invoice_date,str_invoice_date and set the restraint for that
Fixed a bug
Also added more efficient schedule locking and now auto refreshes the main
panel before refreshing
the schedule page...
Small changes too