Subversion Repositories SmartDukaan

Rev

Rev 28145 | Rev 28568 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28145 Rev 28149
Line 525... Line 525...
525
			double rouoff = totalProfit / (pc.getSellingPrice() / 1.18) * 100;
525
			double rouoff = totalProfit / (pc.getSellingPrice() / 1.18) * 100;
526
			double roundOff = Math.round(rouoff * 100.0) / 100.0;
526
			double roundOff = Math.round(rouoff * 100.0) / 100.0;
527
			pc.setNetMargin(roundOff);
527
			pc.setNetMargin(roundOff);
528
 
528
 
529
		}
529
		}
-
 
530
		model.addAttribute("date", LocalDate.now());
530
		model.addAttribute("priceCircular", priceCircular);
531
		model.addAttribute("priceCircular", priceCircular);
531
		return "categorywise-circular";
532
		return "categorywise-circular";
532
	}
533
	}
533
 
534
 
534
	@RequestMapping(value = "/partnerPriceCircular")
535
	@RequestMapping(value = "/partnerPriceCircular")