Subversion Repositories SmartDukaan

Rev

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

Rev 34117 Rev 34131
Line 566... Line 566...
566
                    report.getAgentEmail(),
566
                    report.getAgentEmail(),
567
                    report.getPartnerName(),
567
                    report.getPartnerName(),
568
                    report.getOrderId(),
568
                    report.getOrderId(),
569
                    report.getCustomerNumber(),
569
                    report.getCustomerNumber(),
570
                    report.getCallingDate(),
570
                    report.getCallingDate(),
-
 
571
                    report.getDisposition(),
-
 
572
                    report.getRemark(),
571
                    report.getPaymentStatus(),
573
                    report.getPaymentStatus(),
572
                    report.getInsuranceStatus(),
574
                    report.getInsuranceStatus(),
573
                    report.getPolicySoldAmount(),
575
                    report.getPolicySoldAmount(),
574
                    report.getInvoiceNumber(),
576
                    report.getInvoiceNumber(),
575
                    report.getSerialNumber()
577
                    report.getSerialNumber()
Line 577... Line 579...
577
 
579
 
578
        }
580
        }
579
 
581
 
580
 
582
 
581
        org.apache.commons.io.output.ByteArrayOutputStream baos = FileUtil
583
        org.apache.commons.io.output.ByteArrayOutputStream baos = FileUtil
582
                .getCSVByteStream(Arrays.asList("Agent Email", "Partner Name", "Order Id", "Customer Mobile Number", "Calling Date", "Payment Status", "Insurance Status", "Policy Sold Amount", "Invoice Number", "Serial Number"), rows);
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);
583
        ResponseEntity<?> responseEntity = orderService.downloadReportInCsv(baos, rows, " Upselling Report");
585
        ResponseEntity<?> responseEntity = orderService.downloadReportInCsv(baos, rows, " Upselling Report");
584
 
586
 
585
        return responseEntity;
587
        return responseEntity;
586
 
588
 
587
    }
589
    }