Subversion Repositories SmartDukaan

Rev

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

Rev 21338 Rev 21603
Line 75... Line 75...
75
 
75
 
76
class Store(MStore):
76
class Store(MStore):
77
    OrderStatusMap = {
77
    OrderStatusMap = {
78
                      main.Store.ORDER_PLACED : ['approval', 'processing', 'shipping', 'your order has been placed.'],
78
                      main.Store.ORDER_PLACED : ['approval', 'processing', 'shipping', 'your order has been placed.'],
79
                      main.Store.ORDER_DELIVERED : ['your item has been delivered'],
79
                      main.Store.ORDER_DELIVERED : ['your item has been delivered'],
80
                      main.Store.ORDER_SHIPPED : ['in transit', 'shipment yet to be delivered'],
80
                      main.Store.ORDER_SHIPPED : ['in transit', 'shipment yet to be delivered', "item has been shipped.", "your item is out for delivery"],
81
                      main.Store.ORDER_CANCELLED : ['shipment is returned', 'your item has been returned', 'your shipment has been cancelled', 'your shipment has been cancelled.', 'your item has been cancelled']
81
                      main.Store.ORDER_CANCELLED : ['shipment is returned', 'your item has been returned', 'your shipment has been cancelled', 'your shipment has been cancelled.', 'your item has been cancelled']
82
                      
82
                      
83
                      }
83
                      }
84
    def __init__(self,store_id):
84
    def __init__(self,store_id):
85
        client = MongoClient('mongodb://localhost:27017/')
85
        client = MongoClient('mongodb://localhost:27017/')