Subversion Repositories SmartDukaan

Rev

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

Rev 5070 Rev 5577
Line 22... Line 22...
22
from shop2020.clients.TransactionClient import TransactionClient
22
from shop2020.clients.TransactionClient import TransactionClient
23
from shop2020.clients.LogisticsClient import LogisticsClient
23
from shop2020.clients.LogisticsClient import LogisticsClient
24
from shop2020.clients.CatalogClient import CatalogClient
24
from shop2020.clients.CatalogClient import CatalogClient
25
from shop2020.thriftpy.model.v1.order.ttypes import  Order, DelayReason
25
from shop2020.thriftpy.model.v1.order.ttypes import  Order, DelayReason
26
from shop2020.utils.EmailAttachmentSender import mail, get_attachment_part
26
from shop2020.utils.EmailAttachmentSender import mail, get_attachment_part
27
to = ["sandeep.sachdeva@shop2020.in","ashutosh.saxena@shop2020.in","suraj.sharma@shop2020.in","pankaj.jain@spiceglobal.com", "pankaj.kankar@shop2020.in", "chaitnaya.vats@shop2020.in", "asghar.bilgrami@shop2020.in"]
27
to = ["sandeep.sachdeva@shop2020.in","ashutosh.saxena@shop2020.in","suraj.sharma@shop2020.in","pankaj.jain@spiceglobal.com", "pankaj.kankar@shop2020.in", "chaitnaya.vats@shop2020.in", "asghar.bilgrami@shop2020.in", "rajneesharora@spiceretail.co.in"]
28
 
28
 
29
def generate_delayed_orders_file():
29
def generate_delayed_orders_file():
30
    txn_client = TransactionClient().get_client()
30
    txn_client = TransactionClient().get_client()
31
    slipped_orders = txn_client.getSlippedSippingDateOrders()
31
    slipped_orders = txn_client.getSlippedSippingDateOrders()
32
    
32