Subversion Repositories SmartDukaan

Rev

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

Rev 34131 Rev 34133
Line 563... Line 563...
563
                UpsellingReportModel report : upsellingReportModels) {
563
                UpsellingReportModel report : upsellingReportModels) {
564
 
564
 
565
            rows.add(Arrays.asList(
565
            rows.add(Arrays.asList(
566
                    report.getAgentEmail(),
566
                    report.getAgentEmail(),
567
                    report.getPartnerName(),
567
                    report.getPartnerName(),
-
 
568
                    report.getPartnerMobile(),
-
 
569
                    report.getCode(),
-
 
570
                    report.getPartnerName(),
568
                    report.getOrderId(),
571
                    report.getOrderId(),
569
                    report.getCustomerNumber(),
572
                    report.getCustomerNumber(),
570
                    report.getCallingDate(),
573
                    report.getCallingDate(),
571
                    report.getDisposition(),
574
                    report.getDisposition(),
572
                    report.getRemark(),
575
                    report.getRemark(),
Line 579... Line 582...
579
 
582
 
580
        }
583
        }
581
 
584
 
582
 
585
 
583
        org.apache.commons.io.output.ByteArrayOutputStream baos = FileUtil
586
        org.apache.commons.io.output.ByteArrayOutputStream baos = FileUtil
584
                .getCSVByteStream(Arrays.asList("Agent Email", "Partner Name", "Order Id", "Customer Mobile Number", "Calling Date", "Disposition", "Remark", "Payment Status", "Insurance Status", "Policy Sold Amount", "Invoice Number", "Serial Number"), rows);
587
                .getCSVByteStream(Arrays.asList("Agent Email", "Partner Name", "Partner Mobile Number", "Partner Code", "Order Id", "Customer Mobile Number", "Calling Date", "Disposition", "Remark", "Payment Status", "Insurance Status", "Policy Sold Amount", "Invoice Number", "Serial Number"), rows);
585
        ResponseEntity<?> responseEntity = orderService.downloadReportInCsv(baos, rows, " Upselling Report");
588
        ResponseEntity<?> responseEntity = orderService.downloadReportInCsv(baos, rows, " Upselling Report");
586
 
589
 
587
        return responseEntity;
590
        return responseEntity;
588
 
591
 
589
    }
592
    }