Subversion Repositories SmartDukaan

Rev

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

Rev 25539 Rev 25541
Line 681... Line 681...
681
				LOGGER.info("Could not find address for Store", fofoStore.getCode());
681
				LOGGER.info("Could not find address for Store", fofoStore.getCode());
682
				address = new Address();
682
				address = new Address();
683
			}
683
			}
684
			double sum = userWalletHistoryRepository.selectSumByWallet(uw.getId());
684
			double sum = userWalletHistoryRepository.selectSumByWallet(uw.getId());
685
			int calculated = (int)sum;
685
			int calculated = (int)sum;
686
			System.out.println("Amount " + uw.getAmount());
-
 
687
			System.out.println("Sum(double) " + sum);
-
 
688
			System.out.println("Sum " + calculated);
-
 
689
			System.out.printf("%d\t%s\t%b\t%s\t%s\t%s\t%d\t%d\t%d%n", fofoStore.getId(), fofoStore.getCode(), 
686
			System.out.printf("%d\t%s\t%b\t%s\t%s\t%s\t%d\t%d\t%d%n", fofoStore.getId(), fofoStore.getCode(), 
690
					fofoStore.isActive(), address.getName(), address.getCity(), address.getState(), uw.getAmount(), calculated, 
687
					fofoStore.isActive(), address.getName(), address.getCity(), address.getState(), uw.getAmount(), calculated, 
691
					uw.getAmount() - calculated);
688
					uw.getAmount() - calculated);
692
		}
689
		}
693
	}
690
	}