added validations in quantity for invoices