added submitted date to parts and used in delete, also tidied