Subversion Repositories SmartDukaan

Rev

Rev 6039 | Rev 6511 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6039 Rev 6256
Line 797... Line 797...
797
    if item.status in [status.ACTIVE, status.PAUSED, status.PAUSED_BY_RISK]:
797
    if item.status in [status.ACTIVE, status.PAUSED, status.PAUSED_BY_RISK]:
798
        if item.startDate:
798
        if item.startDate:
799
            return not(datetime.datetime.now() < item.startDate or item.sellingPrice == 0)
799
            return not(datetime.datetime.now() < item.startDate or item.sellingPrice == 0)
800
        else:
800
        else:
801
            return True
801
            return True
-
 
802
    elif item.status == status.COMING_SOON:
-
 
803
        return True
-
 
804
    else:
-
 
805
        return False
802
806