Subversion Repositories SmartDukaan

Rev

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

Rev 15482 Rev 15502
Line 326... Line 326...
326
        row = int(val)
326
        row = int(val)
327
        column = 1
327
        column = 1
328
        worksheet.write(row, column, 0,center_alignment)
328
        worksheet.write(row, column, 0,center_alignment)
329
    totalDispositions=contactableData+nonContactableData
329
    totalDispositions=contactableData+nonContactableData
330
    
330
    
-
 
331
    if totalDispositions > 0:
331
    worksheet.write(15,1,round((contactableData/float(totalDispositions))*100,2),center_alignment)
332
        worksheet.write(15,1,round((contactableData/float(totalDispositions))*100,2),center_alignment)
332
    worksheet.write(16,1,round((nonContactableData/float(totalDispositions))*100,2),center_alignment)
333
        worksheet.write(16,1,round((nonContactableData/float(totalDispositions))*100,2),center_alignment)
333
    
334
    
334
    conn.close()
335
    conn.close()
335
    
336
    
336
    datesql=FRESH_AGENTS_CALLED_COUNT 
337
    datesql=FRESH_AGENTS_CALLED_COUNT 
337
    conn = getDbConnection()
338
    conn = getDbConnection()