Subversion Repositories SmartDukaan

Rev

Rev 16277 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16277 Rev 20168
Line 28... Line 28...
28
        subject = date + ': ' + str(abs(unscannedCount))
28
        subject = date + ': ' + str(abs(unscannedCount))
29
        if unscannedCount > 0:
29
        if unscannedCount > 0:
30
            subject += ' items not scanned IN yet in below Shipment References'
30
            subject += ' items not scanned IN yet in below Shipment References'
31
        else:
31
        else:
32
            subject += ' extra items got scanned in below Shipment References'
32
            subject += ' extra items got scanned in below Shipment References'
33
    EmailAttachmentSender.mail('adwords@shop2020.in', 'adwords_shop2020', ['manish.sharma@shop2020.in', 'anikendra.das@shop2020.in', 'sandeep.sachdeva@shop2020.in', 'warehousedel@shop2020.in', 'sunil.kumar@shop2020.in'], subject, "\n".join(body))
33
    EmailAttachmentSender.mail('adwords@shop2020.in', 'adwords_shop2020', ['amit.gupta@shop2020.in', 'warehousedel@shop2020.in', 'himanshu.pandey@shop2020.in', 'shiv.kumar@shop2020.in'], subject, "\n".join(body))
34
 
34
 
35
def generateAndReportScanMismatches(date):
35
def generateAndReportScanMismatches(date):
36
    reportMismatches(generateScanMismatches(date), date)
36
    reportMismatches(generateScanMismatches(date), date)
37
 
37
 
38
def main():
38
def main():