Changes between Version 2 and Version 3 of Ticket #30911


Ignore:
Timestamp:
Oct 25, 2019, 1:03:38 PM (5 years ago)
Author:
Christopher Sardegna
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30911 – Description

    v2 v3  
    5757
    5858{{{
    59 claims = ClaimLine.objects.filter(Q(beg_date__range=prior_range) |
     59rows = Model.objects.filter(Q(beg_date__range=prior_range) |
    6060                                  Q(beg_date__range=current_range),
    6161                                  med_cat='N',
     
    7474# Handle removing nulls and blanks
    7575if remove_null:
    76     claims = claims.exclude(Q(category__isnull=True) | Q(code__isnull=True))
     76    rows = rows.exclude(Q(category__isnull=True) | Q(code__isnull=True))
    7777if remove_blank:
    7878    # Handle case where empty strings were stored as string literal `""`
    79     claims = claims.exclude(Q(category__exact='') | Q(code__exact='') |
     79    rows = rows.exclude(Q(category__exact='') | Q(code__exact='') |
    8080                            Q(category__exact='""') | Q(code__exact='""'))
    8181
    8282# Handle excluding categories
    83 claims = claims.exclude(category__in=excluded_categories)
     83rows = rows.exclude(category__in=excluded_categories)
    8484
    8585# Handle payment type filter
    8686if payment_method != 'all':
    87     claims = claims.filter(method=payment_method')
     87    rows = rows.filter(method=payment_method')
    8888}}}
Back to Top