Subversion Repositories SmartDukaan

Rev

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

Rev 26539 Rev 26540
Line 1121... Line 1121...
1121
			String shortName = store.getCode().replaceAll("\\d+", "").substring(2);
1121
			String shortName = store.getCode().replaceAll("\\d+", "").substring(2);
1122
			DistrictMaster districtMaster = null;
1122
			DistrictMaster districtMaster = null;
1123
			try {
1123
			try {
1124
				districtMaster = districtMasterRepository.selectByShortName(shortName);
1124
				districtMaster = districtMasterRepository.selectByShortName(shortName);
1125
			} catch (Exception e) {
1125
			} catch (Exception e) {
1126
				districtMaster = districtMasterRepository.selectByShortName("DL");
1126
				districtMaster = districtMasterRepository.selectByShortName("FB");
1127
			}
1127
			}
1128
			com.spice.profitmandi.dao.entity.user.User user = userMap.get(store.getId());
1128
			com.spice.profitmandi.dao.entity.user.User user = userMap.get(store.getId());
1129
			String storeName = user.getName();
1129
			String storeName = user.getName();
1130
			String urlString = districtMaster.getStateShortName() + "/"
1130
			String urlString = districtMaster.getStateShortName() + "/"
1131
					+ Utils.getHyphenatedString(districtMaster.getName()) + "/"
1131
					+ Utils.getHyphenatedString(districtMaster.getName()) + "/"