Commit 2ef5a4d3 authored by Skia's avatar Skia 🤘
Browse files

Runtime error fix

parent ca3b7fda
Pipeline #266 failed with stage
in 17 seconds
......@@ -927,6 +927,7 @@ class InvoiceCallView(CounterAdminTabsMixin, TemplateView):
start_date = datetime.strptime(self.request.GET['month'], '%Y-%m')
start_date = datetime(, month=(, day=1)
start_date = start_date.replace(tzinfo=pytz.UTC)
end_date = (start_date + timedelta(days=32)).replace(day=1, hour=0, minute=0, microsecond=0)
from django.db.models import Sum, Case, When, F, DecimalField
kwargs['start_date'] = start_date
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment