fix footer and added view invoice