Assigning dates to orders when submitting their guest tabs
When the guest tab is submitted, all its unsubmitted orders are assigned the current date.
For example, say order 371
was created at 17:10
in guest tab 371
. Then the guest tab draft was saved.
The guest tab was submitted at 17:15. This also changed the order date.