Package com.openbravo.pos.pda.dao

Examples of com.openbravo.pos.pda.dao.TicketDAO


        return floor.findAllFloors().get(0).getId();
    }

    public TicketInfo findTicket(String id) {
        ticket = new TicketDAO();

        return ticket.getTicket(id);
    }
View Full Code Here


        return ticket.getTicket(id);
    }

    public void initTicket(String id) {
        ticket = new TicketDAO();
        ticket.initTicket(id);
    }
View Full Code Here

        ticket = new TicketDAO();
        ticket.initTicket(id);
    }

    public void deleteTicket(String id) {
        TicketDAO ticket = new TicketDAO();
        ticket.deleteTicket(id);
    }
View Full Code Here

        return place.findPlaceById(placeId);
    }

    public void addLineToTicket(String ticketId, String productId) {
        ticket = new TicketDAO();
        product = new ProductDAO();
        category = new CategoryDAO();
        tax = new TaxDAO();
        taxesLogic = new TaxesLogic(tax.getTaxList());
View Full Code Here

        ticket.updateTicket(ticketId, obj);
        refreshTax(obj);
    }

    public void updateLineFromTicket(String ticketId, TicketInfo aticket) {
        ticket = new TicketDAO();
        ticket.updateTicket(ticketId, aticket);
    }
View Full Code Here

        }
        return BigDecimal.valueOf(total);
    }

    public void insertTicket(TicketInfo aticket) {
        ticket = new TicketDAO();
        ticket.insertTicket(aticket);
    }
View Full Code Here

TOP

Related Classes of com.openbravo.pos.pda.dao.TicketDAO

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.