check total attachment in discipline case