public void PayToSale() { Double init_amount = 0; Double fin_amount = 0; customers = new DAO.CustomersDAO(); init_amount = AmountPaid / 1.12; fin_amount = init_amount * customers.askTax(); customers.PaymentToSales(Pos_orno, Pos_terminal, Custcode, Customer, Pos_user, fin_amount, Vatable, AmountPaid, AmountPaid); }