Subversion Repositories SmartDukaan

Rev

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

Rev 6525 Rev 6537
Line 542... Line 542...
542
            In case you have any questions please visit <a href="$source_url/static/buy-online-and-pickup-in-store">Details on Pickup in Store</a>. If you still have more questions feel free to contact us 24/7 via <a href="$source_url/contact-us">$source_url/contact-us</a>
542
            In case you have any questions please visit <a href="$source_url/static/buy-online-and-pickup-in-store">Details on Pickup in Store</a>. If you still have more questions feel free to contact us 24/7 via <a href="$source_url/contact-us">$source_url/contact-us</a>
543
            </br><hr />
543
            </br><hr />
544
            """
544
            """
545
            
545
            
546
    html_footer = html_footer + html_pickup_text + """
546
    html_footer = html_footer + html_pickup_text + """
-
 
547
    Note:- With the onset of dense fog in North India, it severely hits the operations of our courier partners. We would like to mention that our deliveries might be slightly delayed. We look forward to your support and understanding with regards to anticipated delays.</br>
547
    <p>
548
    <p>
548
        Best Wishes,<br />
549
        Best Wishes,<br />
549
        $source_name Team
550
        $source_name Team
550
    </p>
551
    </p>
551
</div>
552
</div>
Line 3571... Line 3572...
3571
        serviceType = 'MTP'
3572
        serviceType = 'MTP'
3572
    if rechargeType == RechargeType.DTH:
3573
    if rechargeType == RechargeType.DTH:
3573
        serviceType = 'RCH'
3574
        serviceType = 'RCH'
3574
    
3575
    
3575
    provider = None
3576
    provider = None
3576
    try:    
3577
    try:   
-
 
3578
        l = len(deviceNumber) 
-
 
3579
        if l < 10:
-
 
3580
            deviceNumber = deviceNumber + "0" * (10-l) 
3577
        providerCode, operatorCircle = RechargeService.checkServiceProviderApi(serviceType, deviceNumber)
3581
        providerCode, operatorCircle = RechargeService.checkServiceProviderApi(serviceType, deviceNumber)
3578
        if providerCode == 'SNS' or providerCode == '':
3582
        if providerCode == 'SNS' or providerCode == '':
3579
            providerId = 0
3583
            providerId = 0
3580
        else:
3584
        else:
3581
            provider = get_provider_by_code(providerCode)
3585
            provider = get_provider_by_code(providerCode)