Examples of TaxRate


Examples of com.jpoweredcart.common.entity.localisation.TaxRate

  @RequestMapping(value="/admin/localisation/taxRate/create")
  public String create(Model model, HttpServletRequest request){
   
    checkModifyPermission();
   
    model.addAttribute("taxRate", new TaxRate());
    addFormAttributes(model);
   
    return "/admin/localisation/taxRateForm";
  }
View Full Code Here

Examples of com.jpoweredcart.common.entity.localisation.TaxRate

  @RequestMapping(value="/admin/localisation/taxRate/edit/{id}")
  public String edit(@PathVariable("id") Integer id, Model model, HttpServletRequest request){
   
    checkModifyPermission();
   
    TaxRate taxRate = taxRateAdminModel.get(id);
    model.addAttribute("taxRate", taxRate);
    addFormAttributes(model);
   
    return "/admin/localisation/taxRateForm";
  }
View Full Code Here

Examples of com.jpoweredcart.common.entity.localisation.TaxRate

 
 
  @Override
  public TaxRate get(Integer taxRateId) {
    String sql = "SELECT * FROM " +quoteTable("tax_rate")+ " WHERE tax_rate_id = ?";
    TaxRate taxRate = getJdbcOperations().queryForObject(sql,
        new Object[]{taxRateId}, new TaxRateRowMapper());
   
    sql = "SELECT customer_group_id FROM "+quoteTable("tax_rate_to_customer_group")+ " WHERE tax_rate_id =?";
    List<Integer> customerGroupIds = getJdbcOperations()
        .queryForList(sql, Integer.class, taxRateId);
    taxRate.setCustomerGroupIds(customerGroupIds);
   
    return taxRate;
  }
View Full Code Here

Examples of com.jpoweredcart.common.entity.localisation.TaxRate

    List<TaxRate> taxRateList = getJdbcOperations()
        .query(query.getSql(), query.getParameters(), new TaxRateRowMapper(){
          @Override
          public TaxRate mapRow(ResultSet rs, int rowNum)
              throws SQLException {
            TaxRate taxRate = super.mapRow(rs, rowNum);
            taxRate.setGeoZone(rs.getString("geo_zone"));
            return taxRate;
          }
        });
    return taxRateList;
  }
View Full Code Here

Examples of org.openbravo.model.financialmgmt.tax.TaxRate

        final Product pro = (Product) OBDal.getInstance().get("Product",
                line_product);
        iOrder.setProduct(pro);

        // Taxes
        final TaxRate tax = (TaxRate) OBDal.getInstance().get(
                "FinancialMgmtTaxRate", tax_id);
        iOrder.setTax(tax);

        // Quantity ordered
        iOrder.setOrderedQuantity(BigDecimal
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.