diff --git a/src/main/java/info/bukova/isspst/data/SettingsData.java b/src/main/java/info/bukova/isspst/data/SettingsData.java index b068c08b..9272a483 100644 --- a/src/main/java/info/bukova/isspst/data/SettingsData.java +++ b/src/main/java/info/bukova/isspst/data/SettingsData.java @@ -15,6 +15,7 @@ public class SettingsData { private MailMessage authReqTemplate; private MailMessage confReqTemplate; private MailMessage confReqTripPassenger; + private MailMessage reqPassenger; private Address mainAddress; private List
shippingAddrs; private String bankName; @@ -30,6 +31,7 @@ public class SettingsData { authReqTemplate = new MailMessage(); confReqTemplate = new MailMessage(); confReqTripPassenger = new MailMessage(); + reqPassenger = new MailMessage(); mainAddress = new Address(); shippingAddrs = new ArrayList
(); vehicles = new ArrayList(); @@ -160,4 +162,12 @@ public class SettingsData { public void setConfReqTripPassenger(MailMessage confReqTripPassenger) { this.confReqTripPassenger = confReqTripPassenger; } + + public MailMessage getReqPassenger() { + return reqPassenger; + } + + public void setReqPassenger(MailMessage reqPassenger) { + this.reqPassenger = reqPassenger; + } } diff --git a/src/main/java/info/bukova/isspst/services/requirement/TripRequirementServiceImpl.java b/src/main/java/info/bukova/isspst/services/requirement/TripRequirementServiceImpl.java index 0a2c823c..52f7e8da 100644 --- a/src/main/java/info/bukova/isspst/services/requirement/TripRequirementServiceImpl.java +++ b/src/main/java/info/bukova/isspst/services/requirement/TripRequirementServiceImpl.java @@ -77,6 +77,21 @@ public class TripRequirementServiceImpl extends RequirementBaseServiceImpl + @@ -91,6 +92,31 @@ + + + + + + + + + + + + + +