New bug with paymentanoumt not showing right value for invoices. Invoice no showing up when expecting salesoreno also fixed