Subversion Repositories SmartDukaan

Rev

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

Rev 21934 Rev 21963
Line 10... Line 10...
10
 
10
 
11
import java.util.ArrayList;
11
import java.util.ArrayList;
12
import java.util.List;
12
import java.util.List;
13
import java.util.Random;
13
import java.util.Random;
14
 
14
 
-
 
15
import org.apache.commons.lang.StringUtils;
15
import org.apache.log4j.Logger;
16
import org.apache.log4j.Logger;
16
import org.apache.shiro.SecurityUtils;
17
import org.apache.shiro.SecurityUtils;
17
 
18
 
18
/**
19
/**
19
 * @author vikas
20
 * @author vikas
Line 59... Line 60...
59
 
60
 
60
        setPrivateDealUser(userClient.getPrivateDealUser(userId));
61
        setPrivateDealUser(userClient.getPrivateDealUser(userId));
61
        Counter c = userClient.getCounterByUserId(userId);
62
        Counter c = userClient.getCounterByUserId(userId);
62
        if(c.getId()!=0) {
63
        if(c.getId()!=0) {
63
        	this.counter = c;
64
        	this.counter = c;
64
        	if(c.getGstIn() != null ) {
65
        	if(StringUtils.isNotEmpty(c.getGstin())) {
65
        		this.gstin = c.getGstIn();
66
        		this.gstin = c.getGstin();
66
        	}
67
        	}
67
        	this.documentVerified = c.isDocumentVerified();
68
        	this.documentVerified = c.isDocumentVerified();
68
        	
69
        	
69
        }
70
        }
70
 
71