From 9995c113942b224dbd2e4e73dc0725ef03e40660 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 1 Mar 2007 04:55:42 +0000 Subject: [PATCH] Revert revision 1565 - [ 1653683 ] Printing Copy and Original --- client/src/org/compiere/print/ReportCtl.java | 30 -------------------- 1 file changed, 30 deletions(-) diff --git a/client/src/org/compiere/print/ReportCtl.java b/client/src/org/compiere/print/ReportCtl.java index 68f1fc854a..7d9f5dbee4 100644 --- a/client/src/org/compiere/print/ReportCtl.java +++ b/client/src/org/compiere/print/ReportCtl.java @@ -185,36 +185,6 @@ public class ReportCtl preview(re); } - //vpj-cd e-evolution 15022007 - if(type == ReportEngine.INVOICE) - { - MInvoice m_invoice = new MInvoice(Env.getCtx(), Record_ID,null); - if(!m_invoice.isPrinted()) - { - m_invoice.setIsPrinted(true); - m_invoice.save(); - } - } - else if (type == ReportEngine.SHIPMENT) - { - MInOut m_inout = new MInOut(Env.getCtx(), Record_ID,null); - if(!m_inout.isPrinted()) - { - m_inout.setIsPrinted(true); - m_inout.save(); - } - } - else if (type == ReportEngine.ORDER) - { - MOrder m_order = new MOrder(Env.getCtx(), Record_ID,null); - if(!m_order.isPrinted()) - { - m_order.setIsPrinted(true); - m_order.save(); - } - } - //vpj-cd e-evolution 15022007 - return true; } // StartDocumentPrint