Subversion Repositories SmartDukaan

Rev

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

Rev 6314 Rev 6316
Line 3550... Line 3550...
3550
            if deviceNumberInfo.operatorName :
3550
            if deviceNumberInfo.operatorName :
3551
                if circle.id == 8:
3551
                if circle.id == 8:
3552
                    return "We currently do not provide this service in J&K. We regret the inconvenience."
3552
                    return "We currently do not provide this service in J&K. We regret the inconvenience."
3553
                else :
3553
                else :
3554
                    return "We are facing technical issues with " + deviceNumberInfo.operatorName + " in " + circle.name + " currently. Please try later." 
3554
                    return "We are facing technical issues with " + deviceNumberInfo.operatorName + " in " + circle.name + " currently. Please try later." 
3555
            else
3555
            else :
3556
                return "We are facing technical issues with this operator in " + circle.name + " currently. Please try later." 
3556
                return "We are facing technical issues with this operator in " + circle.name + " currently. Please try later." 
3557
    allcounts, successcounts  = get_previous_transactions(rechargeType, deviceNumber)
3557
    allcounts, successcounts  = get_previous_transactions(rechargeType, deviceNumber)
3558
    if allcounts >= 15 or successcounts >= 5:
3558
    if allcounts >= 15 or successcounts >= 5:
3559
        return "You have exceeded daily limit for this mobile number."
3559
        return "You have exceeded daily limit for this mobile number."
3560
    return "SUCCESS"
3560
    return "SUCCESS"