Subversion Repositories SmartDukaan

Rev

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

Rev 7473 Rev 7510
Line 52... Line 52...
52
    	long tempUserId = -1;
52
    	long tempUserId = -1;
53
 
53
 
54
    	try {
54
    	try {
55
    		TransactionClient tcl = new TransactionClient();
55
    		TransactionClient tcl = new TransactionClient();
56
    		//Source Id for store website is 2 and our normal website is 1
56
    		//Source Id for store website is 2 and our normal website is 1
57
    		SourceDetail detail = tcl.getClient().getSourceDetail(1);
57
    		SourceDetail detail = tcl.getClient().getSourceDetail(3);
58
    		tempUserEmail=detail.getEmail();
58
    		tempUserEmail=detail.getEmail();
59
    		try {
59
    		try {
60
    			UserClient ucl = new UserClient();
60
    			UserClient ucl = new UserClient();
61
    			User user = ucl.getClient().getUserByEmail(tempUserEmail);
61
    			User user = ucl.getClient().getUserByEmail(tempUserEmail);
62
    			tempUserId = user.getUserId();
62
    			tempUserId = user.getUserId();