Subversion Repositories SmartDukaan

Rev

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

Rev 23449 Rev 23451
Line 329... Line 329...
329
        
329
        
330
        estimateList = []
330
        estimateList = []
331
 
331
 
332
        for item in items:
332
        for item in items:
333
            try:
333
            try:
334
                estimationInfo = self.get_logistics_estimation_with_type(item.id, destination_pin, type, -1)
334
                estimationInfo = self.get_logistics_estimation_with_type(item.id, destination_pin, type)
335
            except Exception as ex:
335
            except Exception as ex:
336
                estimationInfo = LogisticsInfo()
336
                estimationInfo = LogisticsInfo()
337
                estimationInfo.deliveryTime = 0
337
                estimationInfo.deliveryTime = 0
338
            if item.itemStatus == status.ACTIVE:
338
            if item.itemStatus == status.ACTIVE:
339
                estimateList.append((0, estimationInfo.deliveryTime, "BUY NOW", item.id))
339
                estimateList.append((0, estimationInfo.deliveryTime, "BUY NOW", item.id))