diff --git a/pkg/expenses.go b/pkg/expenses.go index d753bd8..102f04b 100644 --- a/pkg/expenses.go +++ b/pkg/expenses.go @@ -266,8 +266,6 @@ func (form *expenseForm) Validate() bool { if validator.CheckRequiredInput(form.Amount, gettext("Amount can not be empty.", form.locale)) { validator.CheckValidDecimal(form.Amount, form.company.MinCents(), math.MaxFloat64, gettext("Amount must be a number greater than zero.", form.locale)) } - validator.CheckValidSelectOption(form.Tax, gettext("Selected tax is not valid.", form.locale)) - validator.CheckAtMostOneOfEachGroup(form.Tax, gettext("You can only select a tax of each class.", form.locale)) validator.CheckValidSelectOption(form.ExpenseStatus, gettext("Selected expense status is not valid.", form.locale)) return validator.AllOK() }