Merge 2494d9912a0f

This commit is contained in:
Heng Sin Low 2013-07-02 17:27:34 +08:00
commit 3fc9f7eebc
3 changed files with 20 additions and 0 deletions

View File

@ -656,4 +656,17 @@ public class MPaymentTransaction extends X_C_PaymentTransaction implements Proce
return MPaymentTransaction.getAllIDs(Table_Name, whereClause.toString(), trxName);
}
/**
* String Representation
* @return info
*/
public String toString ()
{
StringBuilder sb = new StringBuilder ("MPaymentTransaction[");
sb.append(get_ID()).append("-")
.append(",Receipt=").append(isReceipt())
.append(",PayAmt=").append(getPayAmt());
return sb.toString ();
} // toString
}

View File

@ -18,6 +18,7 @@ package org.compiere.print;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.sql.ResultSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
@ -53,6 +54,11 @@ public class MPrintFont extends X_AD_PrintFont
if (AD_PrintFont_ID == 0)
setIsDefault(false);
} // MPrintFont
public MPrintFont(Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** Font cached */
private Font m_cacheFont = null;

View File

@ -49,6 +49,7 @@ public class PrintPaperElementHandler extends AbstractElementHandler {
int id = findIdByName(ctx, "AD_PrintPaper", printPaperName);
printPaper = new X_AD_PrintPaper(ctx.ctx, id > 0 ? id : 0, getTrxName(ctx));
printPaper.setName(printPaperName);
}
PoFiller filler = new PoFiller(ctx, printPaper, element, this);