Subversion Repositories SmartDukaan

Rev

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

Rev 17004 Rev 17005
Line 24... Line 24...
24
            return None
24
            return None
25
    return con
25
    return con
26
 
26
 
27
def settleAppOffersPayBack(runtype='dry'):
27
def settleAppOffersPayBack(runtype='dry'):
28
    if runtype == 'live':
28
    if runtype == 'live':
-
 
29
        print 'Live Run:- Amount will be credited in the specific users'
29
        currentTimestamp = datetime.today()
30
        currentTimestamp = datetime.today()
30
        currentMonth = currentTimestamp.month
31
        currentMonth = currentTimestamp.month
31
        currentDay = currentTimestamp.day
32
        currentDay = currentTimestamp.day
32
        currentYear = currentTimestamp.year
33
        currentYear = currentTimestamp.year
33
        fortNight = (currentMonth - 1)*2 + (currentDay/15)
34
        fortNight = (currentMonth - 1)*2 + (currentDay/15)