customer creation now pointing to velocity
This commit is contained in:
@@ -26,4 +26,17 @@ public class SettingService {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public String getStringSetting(String key) {
|
||||
try {
|
||||
Setting setting = settingRepository.findBySettingName(key);
|
||||
if (setting != null) {
|
||||
return setting.getSettingValue();
|
||||
}
|
||||
return "";
|
||||
} catch (Exception exception) {
|
||||
exception.printStackTrace();
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user