|
|
|
@ -42,7 +42,7 @@ def license_check_soon_ends(request): |
|
|
|
if license_15days is None: |
|
|
|
if license_15days is None: |
|
|
|
licenses_ends = License.objects.filter( |
|
|
|
licenses_ends = License.objects.filter( |
|
|
|
company=request.user.profile, |
|
|
|
company=request.user.profile, |
|
|
|
date_to__lte = now_ + timedelta(days=consts.LICENSE_LEFT_DAYS), |
|
|
|
date_to__lte = now_ + timedelta(days=consts.LICENSE_DAYS_BEFORE_EXPIRE), |
|
|
|
status__in=[consts.LICENSE_TEST_PERIOD, consts.LICENSE_PAID, consts.LICENSE_ACTIVE], |
|
|
|
status__in=[consts.LICENSE_TEST_PERIOD, consts.LICENSE_PAID, consts.LICENSE_ACTIVE], |
|
|
|
deleted=False |
|
|
|
deleted=False |
|
|
|
) |
|
|
|
) |
|
|
|
|