Subversion Repositories SmartDukaan

Rev

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

Rev 17258 Rev 17259
Line 473... Line 473...
473
                                        status = MStore.ORDER_PLACED
473
                                        status = MStore.ORDER_PLACED
474
                                        shippingEstimate = orderStatus.split("Dispatch estimate").split("-")[0].strip()
474
                                        shippingEstimate = orderStatus.split("Dispatch estimate").split("-")[0].strip()
475
                                    elif "Delivery estimate" in orderStatus:
475
                                    elif "Delivery estimate" in orderStatus:
476
                                        status = MStore.ORDER_SHIPPED
476
                                        status = MStore.ORDER_SHIPPED
477
                                        deliveryEstimate = orderStatus.split("Delivery estimate").split("-")[0].strip()
477
                                        deliveryEstimate = orderStatus.split("Delivery estimate").split("-")[0].strip()
-
 
478
                                    else:
-
 
479
                                        self._getStatusFromDetailedStatus(orderStatus)
478
                                except:
480
                                except:
479
                                    closed=False
481
                                    closed=False
480
                                    status = None
482
                                    status = None
481
                                if status == MStore.ORDER_DELIVERED:
483
                                if status == MStore.ORDER_DELIVERED:
482
                                    dateString = sdivs[0].span.text.strip().split("Delivered ")[1].strip()
484
                                    dateString = sdivs[0].span.text.strip().split("Delivered ")[1].strip()