diff --git a/project/customer/tasks.py b/project/customer/tasks.py index ef9f561..9f5b481 100644 --- a/project/customer/tasks.py +++ b/project/customer/tasks.py @@ -21,8 +21,7 @@ def check_license(): order_status=consts.ORDER_UNPAID, deleted=False) # заморозить неоплаченные в срок счета - # TODO добавить дату заморозки - licenses.update(order_status=consts.ORDER_SUSPENDED) + licenses.update(order_status=consts.ORDER_SUSPENDED, suspend_date=_now.date()) for profile in profiles: try: