fixed errors - new appointment, edit inventory

Signed-off-by: Jaimielyn W. Alejo <jaimie.alejo06@gmail.com>