Subversion Repositories SmartDukaan

Rev

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

Rev 25537 Rev 25538
Line 680... Line 680...
680
			} catch(Exception e) {
680
			} catch(Exception e) {
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
			int calculated = (int)userWalletHistoryRepository.selectSumByWallet(uw.getId());
684
			int calculated = (int)userWalletHistoryRepository.selectSumByWallet(uw.getId());
685
			System.out.println(uw.getAmount());
685
			System.out.println("Amount " + uw.getAmount());
-
 
686
			System.out.println("Sum " + calculated);
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(), 
687
			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(), 
687
					fofoStore.isActive(), address.getName(), address.getCity(), address.getState(), uw.getAmount(), calculated, 
688
					fofoStore.isActive(), address.getName(), address.getCity(), address.getState(), uw.getAmount(), calculated, 
688
					uw.getAmount() - calculated);
689
					uw.getAmount() - calculated);
689
		}
690
		}
690
	}
691
	}