added permit details listener

added permit details listener