Subversion Repositories SmartDukaan

Rev

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

Rev 12361 Rev 12629
Line 118... Line 118...
118
        	}
118
        	}
119
        	if(stateId == -1){
119
        	if(stateId == -1){
120
        		throw new Exception("State is Mandatory. Please select state");
120
        		throw new Exception("State is Mandatory. Please select state");
121
        	}
121
        	}
122
            Supplier supplier = new Supplier();
122
            Supplier supplier = new Supplier();
-
 
123
            name = name.trim();
123
            supplier.setName(name);
124
            supplier.setName(name);
124
            supplier.setCommunicationAddress(communicationAddress);
125
            supplier.setCommunicationAddress(communicationAddress);
125
            supplier.setContactEmail(contactEmail);
126
            supplier.setContactEmail(contactEmail);
126
            supplier.setContactFax(contactFax);
127
            supplier.setContactFax(contactFax);
127
            supplier.setContactName(contactName);
128
            supplier.setContactName(contactName);