Subversion Repositories SmartDukaan

Rev

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

Rev 7986 Rev 7990
Line 248... Line 248...
248
            if hotspotServiceMatrixMap.get(storeId).rechargeService:
248
            if hotspotServiceMatrixMap.get(storeId).rechargeService:
249
                store = HotspotStore.get_by(id = storeId)
249
                store = HotspotStore.get_by(id = storeId)
250
                msg = msg + str(store.hotspotId) + ' - ' + str(store.email) + '<br>'
250
                msg = msg + str(store.hotspotId) + ' - ' + str(store.email) + '<br>'
251
        msg = msg + '</body></html>'
251
        msg = msg + '</body></html>'
252
        helper_client = HelperClient().get_client()
252
        helper_client = HelperClient().get_client()
253
        helper_client.saveUserEmailForSending("gagan.sharma@spiceretail.co.in", "cnc.center@shop2020.in", "No Recharge happened for these stores on " + str(date.today()-timedelta(days=1)), msg, "NRM", "NoRechargeMail", ["anupam.singh@shop2020.in"], ["anupam.singh@shop2020.in"])
253
        helper_client.saveUserEmailForSending(["gagan.sharma@spiceretail.co.in"], "cnc.center@shop2020.in", "No Recharge happened for these stores on " + str(date.today()-timedelta(days=1)), msg, "NRM", "NoRechargeMail", ["anupam.singh@shop2020.in"], ["anupam.singh@shop2020.in"])
254
                
254
                
255
            
255
            
256
         
256
         
257
def push_recharge_collection_to_ocr():
257
def push_recharge_collection_to_ocr():
258
    rcs = RechargeCollection.query.filter(RechargeCollection.pushedToOcr == False).all()
258
    rcs = RechargeCollection.query.filter(RechargeCollection.pushedToOcr == False).all()