}
@RequestMapping(value={"/admin/common/home"})
public String dashboard(Model model, HttpServletRequest request){
CurrencyService c = currencyService;
UserAttributes userAttrs = (UserAttributes)WebUtils.getSessionAttribute(request, UserAttributes.NAME);
String currencyCode = userAttrs.getCurrencyCode();
/* Current year */
int year = Calendar.getInstance().get(Calendar.YEAR);
model.addAttribute("totalSale", c.format(
orderAdminModel.getTotalSales(), currencyCode, null, userAttrs.getLanguageId()));
model.addAttribute("totalSaleYear", c.format(
orderAdminModel.getTotalSalesByYear(year), currencyCode, null, userAttrs.getLanguageId()));
model.addAttribute("totalOrder", orderAdminModel.getTotal(new TotalOrdersFilter()));
model.addAttribute("totalCustomer", customerAdminModel.getTotal(new CustomerFilter()));