Job Admin Control [S25]
Overview
This screen allows you an administrator to change high level properties of a job.

Usually this is to put a job status back when it has a status of 'Waiting Weights' (3) or 'Waiting Assay' (4). Tylically the job will be put back to 'Assigned' (2) which will allow the 'driver return' screen to see the job again.

This screen should not be avaiable to most users. Typically, a depot manager will be able to use this screen.
Rules
If a job has a status of 'Requested' (1) then the screen should not allow a change of status.
If a job has a status of 'Waiting Prices' (5) or more then the screen should not allow a change of status.

If the job has a status of 'Assigned' (2) then the only status option change is to 'Requested' (1). Otherwise, a job may be changed to 'Assigned' (2) if it has a trip id.

If a job has its status reset to 'Requested' (1) and it previously had a trip id then this trip id will be removed.

If the job is being reset to 'Assigned' (2) and the job has a trip then the trip status will be set to 'Not Complete' (0).
Operation
The screen may be linked to from an job link. The Id of the job can be passed with the querystring (JobId). Otherwise the screen can be used on its own, in which case the user must enter the job id manually.

If the job Id has been passed to this screen then the screen will populate with some details abou the job.

If the job Id is being typed in then the user must click the Retrieve button to show the job details.

The New Status Dropdown will show the options for resetting the status. If the status cannot be reset due the the current status being not resetable then a message should show this and the Change Status button should not be available.

If all is well, click the Change Status button. When you have done this the new current status will be shown in the Current Status Dropdown.

A Clear button is available to clear the screen at any time.
Related Items
Screen Shot
Testers : Please put a useful screen shot here when this page is tested.