Package org.fenixedu.academic.report.accounting

Examples of org.fenixedu.academic.report.accounting.ReceiptDocument


            HttpServletResponse response) throws IOException {

        final Receipt receipt = getRenderedObject("receipt");
        try {

            final ReceiptDocument original = new ReceiptDocument(receipt, getMessageResourceProvider(request), true);
            final ReceiptDocument duplicate = new ReceiptDocument(receipt, getMessageResourceProvider(request), false);

            final byte[] data = ReportsUtils.exportMultipleToPdfAsByteArray(original, duplicate);

            ReceiptGeneratedDocument.store(receipt, original.getReportFileName() + ".pdf", data);
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.report.accounting.ReceiptDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.