Subversion Repositories SmartDukaan

Rev

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

Rev 17321 Rev 17322
Line 548... Line 548...
548
                                            if status==MStore.ORDER_SHIPPED:
548
                                            if status==MStore.ORDER_SHIPPED:
549
                                                if deliveryEstimate:   
549
                                                if deliveryEstimate:   
550
                                                    updateMap['subOrders.$.estimatedDeliveryDate'] = deliveryEstimate
550
                                                    updateMap['subOrders.$.estimatedDeliveryDate'] = deliveryEstimate
551
                                                if trackingUrl is not None:
551
                                                if trackingUrl is not None:
552
                                                    updateMap['subOrders.$.trackingUrl'] = trackingUrl
552
                                                    updateMap['subOrders.$.trackingUrl'] = trackingUrl
-
 
553
                                                    updateMap['subOrders.$.trackMissing'] = False
553
                                            if shippingEstimate:   
554
                                            if shippingEstimate:   
554
                                                updateMap['subOrders.$.estimatedShippingDate'] = shippingEstimate
555
                                                updateMap['subOrders.$.estimatedShippingDate'] = shippingEstimate
555
                                            if not closedStatus:
556
                                            if not closedStatus:
556
                                                closed = False
557
                                                closed = False
557
                                            #{"subOrders.closed":False,"subOrders.trackingUrl":{"$exists":False},"subOrders.trackAfter":{"$lt":utils.getCurrTimeStamp()}
558
                                            #{"subOrders.closed":False,"subOrders.trackingUrl":{"$exists":False},"subOrders.trackAfter":{"$lt":utils.getCurrTimeStamp()}