seperate subjects/transaction on a user basis
This commit is contained in:
@@ -150,8 +150,8 @@ def get_color_for_amount(amount: Decimal, minimum: Decimal, maximum: Decimal):
|
||||
)
|
||||
|
||||
|
||||
def predict_balance(start_balance=Decimal("0")):
|
||||
prediction_list = predict_all(Subject.objects.order_by("name"))
|
||||
def predict_balance(subjects: Iterable[Subject], start_balance=Decimal("0")):
|
||||
prediction_list = predict_all(subjects)
|
||||
today = timezone.now().date()
|
||||
future_transactions = []
|
||||
minimum, maximum = Decimal(), Decimal()
|
||||
|
||||
Reference in New Issue
Block a user