Subversion Repositories SmartDukaan

Rev

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

Rev 4077 Rev 4090
Line 1... Line 1...
1
#!/usr/bin/python
1
#!/usr/bin/python
-
 
2
'''
-
 
3
It processes the following reports received from Couriers
-
 
4
through email:
-
 
5
 1. Pickup Report : contains details of orders that were 
-
 
6
     picked up from our warehouse and DOA orders that were
-
 
7
     picked up from our customers.
-
 
8
 2. Delivery & RTO Report: contains details of orders that
-
 
9
     were either successfully delivered to our customers or
-
 
10
     which are being returned to us.
-
 
11
 3. Non-delivery Report: contains details of orders whose
-
 
12
     delivery date has passed but which have not been 
-
 
13
     delivered yet.
2
 
14
 
-
 
15
It sends out a Pickup mismatch report and a Doa Pickup mismatch
-
 
16
report to cnc.center@shop2020.in
-
 
17
 
-
 
18
@author: Chandranshu
-
 
19
'''
3
import time
20
import time
4
import datetime
21
import datetime
5
import optparse
22
import optparse
6
import sys
23
import sys
7
import csv
24
import csv