Merge 2494d9912a0f
This commit is contained in:
commit
3fc9f7eebc
|
@ -656,4 +656,17 @@ public class MPaymentTransaction extends X_C_PaymentTransaction implements Proce
|
||||||
|
|
||||||
return MPaymentTransaction.getAllIDs(Table_Name, whereClause.toString(), trxName);
|
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
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ package org.compiere.print;
|
||||||
|
|
||||||
import java.awt.Font;
|
import java.awt.Font;
|
||||||
import java.awt.GraphicsEnvironment;
|
import java.awt.GraphicsEnvironment;
|
||||||
|
import java.sql.ResultSet;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
@ -54,6 +55,11 @@ public class MPrintFont extends X_AD_PrintFont
|
||||||
setIsDefault(false);
|
setIsDefault(false);
|
||||||
} // MPrintFont
|
} // MPrintFont
|
||||||
|
|
||||||
|
public MPrintFont(Properties ctx, ResultSet rs, String trxName)
|
||||||
|
{
|
||||||
|
super (ctx, rs, trxName);
|
||||||
|
}
|
||||||
|
|
||||||
/** Font cached */
|
/** Font cached */
|
||||||
private Font m_cacheFont = null;
|
private Font m_cacheFont = null;
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@ public class PrintPaperElementHandler extends AbstractElementHandler {
|
||||||
int id = findIdByName(ctx, "AD_PrintPaper", printPaperName);
|
int id = findIdByName(ctx, "AD_PrintPaper", printPaperName);
|
||||||
|
|
||||||
printPaper = new X_AD_PrintPaper(ctx.ctx, id > 0 ? id : 0, getTrxName(ctx));
|
printPaper = new X_AD_PrintPaper(ctx.ctx, id > 0 ? id : 0, getTrxName(ctx));
|
||||||
|
printPaper.setName(printPaperName);
|
||||||
}
|
}
|
||||||
PoFiller filler = new PoFiller(ctx, printPaper, element, this);
|
PoFiller filler = new PoFiller(ctx, printPaper, element, this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue