amount = sum(o.wlfund for o in offers) - sum(o.amount for o in Spent.objects.all())
ctx['amount'] = amount
ctx['log'] = add_total(amount, mix(
amount = sum(o.wlfund for o in offers) - sum(o.amount for o in Spent.objects.all())
ctx['amount'] = amount
ctx['log'] = add_total(amount, mix(