format document number on status page