This function will open a modal to permit the user to create a new pit against the selected site. This is modelled off the same design pattern as the “Create Site” modal, with the following:
Pit Name - The name of the pit, followed by an ID number
Ramp - Ramp name
Strip / Seam - Strip or seam name
Pit Condition - Condition of the Pit
Assets - The number of assets assigned to that pit
Comments - Comments recorded against the pit. If the comments recorded are too long, the user can click on the “eye” button to view those comments.
Cancel button - will close the modal, cancelling the operation
Create Pit - will validate and save the details on the form as a new Pit. If validation fails, these will be highlighted and bough to your attention.