changed view visit details button
solving merge issues