Subversion Repositories SmartDukaan

Rev

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

Rev 27311 Rev 27312
Line 977... Line 977...
977
		LOGGER.info("PENDING LEADES {}", leadRepository
977
		LOGGER.info("PENDING LEADES {}", leadRepository
978
				.selectLeadsScheduledBetweenDate(LocalDateTime.now().minusDays(15), LocalDateTime.now().plusHours(4)));
978
				.selectLeadsScheduledBetweenDate(LocalDateTime.now().minusDays(15), LocalDateTime.now().plusHours(4)));
979
	}
979
	}
980
 
980
 
981
	public void removeDuplicateOrders() throws Exception {
981
	public void removeDuplicateOrders() throws Exception {
982
		List<String> invoiceNumbers = Arrays.asList("DLWE066/1108", "DLWE066/299", "DLWE066/348", "HRFB004/242",
982
		List<String> invoiceNumbers = Arrays.asList(/*"DLWE066/1108", "DLWE066/299", "DLWE066/348", "HRFB004/242",
983
				"HRFB004/243", "HRFB004/514", "HRFTB155/29", "HRJND076/1146", "HRJND076/966", "HRKA134/295",
983
				"HRFB004/243", "HRFB004/514", "HRFTB155/29", "HRJND076/1146", "HRJND076/966", "HRKA134/295",
984
				"HRKA134/421", "HRKK091/381", "HRMGH106/576", "HRSP056/139", "HRYN030/103", "UPGZ019/395",
984
				"HRKA134/421", "HRKK091/381", "HRMGH106/576", "HRSP056/139", "HRYN030/103", "UPGZ019/395",
985
				"UPHRD130/1299", "UPHRD130/456", "UPHRD130/634", "UPLKO063/897", "UPMRT149/54", "UPSJP119/748",
985
				"UPHRD130/1299", "UPHRD130/456", "UPHRD130/634", "UPLKO063/897", "UPMRT149/54", "UPSJP119/748",
986
				"UPSJP119/980", "UPSTP065/1218", "UPSTP065/2039", "UPSTP090/437", "UPSTP120/164");
986
				"UPSJP119/980", "UPSTP065/1218", "UPSTP065/2039", "UPSTP090/437", "UPSTP120/164", */
-
 
987
				"HRMGH106/1576");
987
		
988
		
988
		int totalAmount = 0;
989
		int totalAmount = 0;
989
		float saleAmount = 0;
990
		float saleAmount = 0;
990
		float schemeReverseAmount = 0;
991
		float schemeReverseAmount = 0;
991
		for(String invoiceNumber : invoiceNumbers) {
992
		for(String invoiceNumber : invoiceNumbers) {