added quantity to log view