mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-22 18:29:34 +00:00
remove Refilling.is_validated
This commit is contained in:
1 parent
78fe4e52ca
commit
56c2c2b70e
6 files changed
+20
-18
No files matched your search
@@ -67,10 +67,7 @@ class InvoiceCallView(
|
||||
end_date = start_date + relativedelta(months=1)
|
||||
|
||||
kwargs["sum_cb"] = Refilling.objects.filter(
|
||||
payment_method="CARD",
|
||||
is_validated=True,
|
||||
date__gte=start_date,
|
||||
date__lte=end_date,
|
||||
payment_method="CARD", date__gte=start_date, date__lte=end_date
|
||||
).aggregate(res=Sum("amount", default=0))["res"]
|
||||
kwargs["sum_cb"] += (
|
||||
Selling.objects.filter(
|
||||
|
||||
Reference in new issue
Block a user