Subversion Repositories SmartDukaan

Rev

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

Rev 15571 Rev 20172
Line 403... Line 403...
403
    sendmail(recipients, mailbody, 'dtrstockageing_report.xls', 'DTR Spice Stock Ageing Report')
403
    sendmail(recipients, mailbody, 'dtrstockageing_report.xls', 'DTR Spice Stock Ageing Report')
404
    
404
    
405
def getMisReport():
405
def getMisReport():
406
    mailbody = getMailBody(report_map['mis']) + "<br>" + "<br>" + getMailBody(report_map['mis_prod'])
406
    mailbody = getMailBody(report_map['mis']) + "<br>" + "<br>" + getMailBody(report_map['mis_prod'])
407
    getMailAttachmentMis()
407
    getMailAttachmentMis()
408
    sendmail(['rajneesh.arora@saholic.com'], mailbody, 'dtrcountersale_report.xls', 'DTR Counterwise Sales Report')
408
    sendmail(['rajneesh.arora@saholic.com','khushal.bhatia@saholic.com'], mailbody, 'dtrcountersale_report.xls', 'DTR Counterwise Sales Report')
409
    
409
    
410
def getMailBody(reportmap):
410
def getMailBody(reportmap):
411
    conn = getDbConnection()
411
    conn = getDbConnection()
412
    mailBodyTemplate="""
412
    mailBodyTemplate="""
413
    <html>
413
    <html>