Examples of calcTax()


Examples of org.ofbiz.pos.PosTransaction.calcTax()

        // clear the qty flag
        input.clearFunction("QTY");

        // re-calc tax
        trans.calcTax();

        // refresh the others
        pos.refresh();
    }
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

        // clear the qty flag
        input.clearFunction("QTY");

        // re-calc tax
        trans.calcTax();

        // refresh the others
        pos.refresh();
    }
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

                } catch (NumberFormatException e) {
                }

                amount = amount.movePointLeft(2).negate();
                trans.addDiscount(null, amount, percent);
                trans.calcTax();
            }
        }
        pos.refresh();
    }
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

                } catch (NumberFormatException e) {
                }

                amount = amount.movePointLeft(2).negate();
                trans.addDiscount(index, amount, percent);
                trans.calcTax();
            }
        }
        pos.refresh();
    }
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

    }

    public static synchronized void clearDiscounts(PosScreen pos) {
        PosTransaction trans = PosTransaction.getCurrentTx(pos.getSession());
        trans.clearDiscounts();
        trans.calcTax();
        pos.refresh();
    }

    public static synchronized void calcTotal(PosScreen pos) {
        PosTransaction trans = PosTransaction.getCurrentTx(pos.getSession());
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

        pos.refresh();
    }

    public static synchronized void calcTotal(PosScreen pos) {
        PosTransaction trans = PosTransaction.getCurrentTx(pos.getSession());
        trans.calcTax();

        pos.getInput().setFunction("TOTAL");
        pos.getJournal().refresh(pos);
    }
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

        } catch (CartItemModifyException e) {
            pos.getOutput().print(e.getMessage());
        }

        // re-calc tax
        trans.calcTax();
        pos.refresh();
    }

    public static synchronized void voidAll(PosScreen pos) {
        PosTransaction trans = PosTransaction.getCurrentTx(pos.getSession());
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

        } catch (Exception e) {
            Debug.logError(e, module);
            pos.showDialog("dialog/error/producterror");
        }

        trans.calcTax();
        pos.refresh();

        return;
    }
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

        // clear the qty flag
        input.clearFunction("QTY");

        // re-calc tax
        trans.calcTax();

        // refresh the others
        pos.refresh();
    }
View Full Code Here

Examples of org.ofbiz.pos.PosTransaction.calcTax()

        // clear the qty flag
        input.clearFunction("QTY");

        // re-calc tax
        trans.calcTax();

        // refresh the others
        pos.refresh();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.