Package org.jabusuite.transaction

Examples of org.jabusuite.transaction.PaymentTerm


    super(JbsL10N.getString("PaymentTerm.formTitle"));
    this.setPnEditJbsObject(new PnPaymentTermEdit());
  }
   
    public void createJbsBaseObject() {
        this.setJbsBaseObject(new PaymentTerm());
    }
View Full Code Here


    public JbsDoubleField txDiscount4;
    public JbsLangTextArea txText;

    public PnPaymentTermEdit() {
        super(DlgState.dsInsert);
        this.setPaymentTerm(new PaymentTerm());
    }
View Full Code Here

            return 9;
        }

        public Object getValueAt(int column, int row) {
            if (row < getJbsObjects().size()) {
                PaymentTerm paymentTerm = (PaymentTerm) getJbsObjects().get(row);
                //logger.debug(article.getUserNo());
                switch (column) {
                    case 0:
                        return paymentTerm.getDays1();
                    case 1:
                        return ClientGlobals.getPriceFormat().format(paymentTerm.getDiscount1()) + " %";
                    case 2:
                        return paymentTerm.getDays2();
                    case 3:
                        return ClientGlobals.getPriceFormat().format(paymentTerm.getDiscount2()) + " %";
                    case 4:
                        return paymentTerm.getDays3();
                    case 5:
                        return ClientGlobals.getPriceFormat().format(paymentTerm.getDiscount3()) + " %";
                    case 6:
                        return paymentTerm.getDays4();
                    case 7:
                        return ClientGlobals.getPriceFormat().format(paymentTerm.getDiscount4()) + " %";
                    case 8:
                        String text = paymentTerm.getText(ClientGlobals.getMainDbLanguage());
                        if (text == null) {
                            text = "";
                        }
                        if (text.length() > 25) {
                            text = text.substring(0, 25) + "...";
View Full Code Here

TOP

Related Classes of org.jabusuite.transaction.PaymentTerm

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.