Package com.jpoweredcart.common.entity.localisation

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


  @RequestMapping(value="/admin/localisation/zone/create")
  public String create(Model model){
   
    checkModifyPermission();
   
    model.addAttribute("zone", new Zone());
    addFormAttributes(model);
   
    return "/admin/localisation/zoneForm";
  }
View Full Code Here


  @RequestMapping(value="/admin/localisation/zone/edit/{id}")
  public String edit(@PathVariable("id") Integer id, Model model){
   
    checkModifyPermission();
   
    Zone zone = zoneAdminModel.get(id);
    model.addAttribute("zone", zone);
    addFormAttributes(model);
   
    return "/admin/localisation/zoneForm";
  }
View Full Code Here

   
    Country country = countryAdminModel.get(orderForm.getPaymentCountryId(), Country.class);
    String shippingCountry = country.getName();
    String shippingAddrFmt = country.getAddressFormat();
   
    Zone zone = zoneAdminModel.get(orderForm.getShippingZoneId());
    String shippingZone = zone.getName();
   
    country = countryAdminModel.get(orderForm.getPaymentCountryId(), Country.class);
    String paymentCountry = country.getName();
    String paymentAddrFmt = country.getAddressFormat();
   
    zone = zoneAdminModel.get(orderForm.getPaymentZoneId());
    String paymentZone = zone.getName();
   
    String currencyCode = getSettingService().getConfig(SettingKey.CFG_CURRENCY);
    Currency currency = currencyAdminModel.getOneByCode(currencyCode);
    Integer currencyId = currency.getId();
    BigDecimal currencyValue = currency.getValue();
View Full Code Here

TOP

Related Classes of com.jpoweredcart.common.entity.localisation.Zone

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.