Subversion Repositories SmartDukaan

Rev

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

Rev 18060 Rev 18160
Line 588... Line 588...
588
                                allProductsSame = False
588
                                allProductsSame = False
589
                                break
589
                                break
590
                        subOrderStatusMap
590
                        subOrderStatusMap
591
                        if allProductsSame:
591
                        if allProductsSame:
592
                            print "singlereco", order.orderId
592
                            print "singlereco", order.orderId
593
                            suborderNew = obj(todict(suborder))
-
 
594
                            for key, elpq in subOrderStatusMap.iteritems():
593
                            for key, elpq in subOrderStatusMap.iteritems():
-
 
594
                                suborderNew = obj(todict(suborder))
595
                                suborderNew.merchantSubOrderId = key
595
                                suborderNew.merchantSubOrderId = key
596
                                if elpq("#trackLink").attr("href"):
596
                                if elpq("#trackLink").attr("href"):
597
                                    suborderNew.trackingUrl = elpq("#trackLink").attr("href")
597
                                    suborderNew.trackingUrl = elpq("#trackLink").attr("href")
598
                                if elpq('span.subOrdStatusText').text():
598
                                if elpq('span.subOrdStatusText').text():
599
                                    suborderNew.estimatedDeliveryDate=elpq('span.subOrdStatusText').text().strip()
599
                                    suborderNew.estimatedDeliveryDate=elpq('span.subOrdStatusText').text().strip()