The personal finance app for everyone
fix: Save completely allocated budget (#1811)
Marvin Mdf5f4c83fe28
diff --git a/app/models/budget.rb b/app/models/budget.rbindex 9f6d6c07..560a5f17 100644--- a/app/models/budget.rb+++ b/app/models/budget.rb@@ -150,7 +150,7 @@ class Budget < ApplicationRecordenddef allocations_valid?- initialized? && available_to_allocate.positive? && allocated_spending > 0+ initialized? && available_to_allocate >= 0 && allocated_spending > 0end# =============================================================================