Subversion Repositories SmartDukaan

Rev

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

Rev 7141 Rev 7142
Line 162... Line 162...
162
    
162
    
163
    for storeId in storeData.keys():
163
    for storeId in storeData.keys():
164
        store = HotspotStore.get_by(id = storeId)
164
        store = HotspotStore.get_by(id = storeId)
165
        store.collectedAmount = 0
165
        store.collectedAmount = 0
166
        store.availableLimit = store.creditLimit
166
        store.availableLimit = store.creditLimit
-
 
167
        session.commit()
167
    
168
        
168
        data = storeData.get(storeId)
169
        data = storeData.get(storeId)
169
        
170
        
170
        if store.hotspotId == 'C93':
171
        if store.hotspotId == 'C93':
171
            continue
172
            continue
172
        store_string = "<Store>" + store.hotspotId + "</Store>"
173
        store_string = "<Store>" + store.hotspotId + "</Store>"