Subversion Repositories SmartDukaan

Rev

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

Rev 18575 Rev 19349
Line 40... Line 40...
40
    And our statuses will change accordingly.
40
    And our statuses will change accordingly.
41
    
41
    
42
    '''
42
    '''
43
    OrderStatusMap = {
43
    OrderStatusMap = {
44
                      MStore.ORDER_PLACED : ['payment successful', 'new order - cod confirmation pending', 'processing', 'quality check','on schedule', 'processing - pickup initiated', 'processing - ready to dispatch','processing - procurement delay from merchant','processing - slight procurment delay from merchant','cod order confirmed by customer'],
44
                      MStore.ORDER_PLACED : ['payment successful', 'new order - cod confirmation pending', 'processing', 'quality check','on schedule', 'processing - pickup initiated', 'processing - ready to dispatch','processing - procurement delay from merchant','processing - slight procurment delay from merchant','cod order confirmed by customer'],
45
                      MStore.ORDER_DELIVERED : ['delivered', 'complete'],
45
                      MStore.ORDER_DELIVERED : ['delivered', 'complete', 'order delivered'],
46
                      MStore.ORDER_SHIPPED : ['in transit', 'dispatched','shipped','order handed to courier','order handed over to courier'],
46
                      MStore.ORDER_SHIPPED : ['in transit', 'dispatched','shipped','order handed to courier','order handed over to courier'],
47
                      MStore.ORDER_CANCELLED : ['payment failed', 'canceled', 'payment declined', 'order on hold - cancellation requested by customer', 'courier returned', 'canceled on customer request', 'canceled by customer','order canceled by customer','canceled - address not shippable','return complete','undelivered - returning to origin', 'canceled - shipment untraceable','order declined']
47
                      MStore.ORDER_CANCELLED : ['payment failed', 'canceled', 'payment declined', 'order on hold - cancellation requested by customer', 'courier returned', 'canceled on customer request', 'canceled by customer','order canceled by customer','canceled - address not shippable','return complete','undelivered - returning to origin', 'canceled - shipment untraceable','order declined']
48
                      }
48
                      }
49
    OrderStatusConfirmationMap= {
49
    OrderStatusConfirmationMap= {
50
                                 "P" : "Payment Successful",
50
                                 "P" : "Payment Successful",