add total field to invoice
fix total calculation
add a  chart