mark as paid is not working in invoice