v2 maifa0
This commit is contained in:
@@ -1408,8 +1408,7 @@ class AutomaticDispose {
|
||||
// Wir benötigen einen RTW oder KTW Typ B.
|
||||
if ($(elem).find(".alert-danger").length > 0 && $(elem).find(".alert-danger").text().indexOf("Wir benötigen einen RTW oder KTW Typ B") != -1) {
|
||||
PatientNeedSEGKTWB = true;
|
||||
}
|
||||
|
||||
} else
|
||||
// Wir benötigen einen RTW.
|
||||
if ($(elem).find(".alert-danger").length > 0 && $(elem).find(".alert-danger").text().indexOf("Wir benötigen ein RTW") != -1) {
|
||||
PatientNeedRTW = true;
|
||||
@@ -1514,16 +1513,13 @@ class AutomaticDispose {
|
||||
if (Patient.need_Tragehilfe == true)
|
||||
self._ADisVehiclesNeed["0"]++;
|
||||
|
||||
if (Patient.need_Tragehilfe == true)
|
||||
self._ADisVehiclesNeed["0"]++;
|
||||
|
||||
if (self.MissionConfig.emergency_medical_service.use_RTW == true || Patient.need_RTW == true)
|
||||
self._ADisVehiclesNeed["28"]++;
|
||||
|
||||
if ((self.MissionConfig.emergency_medical_service.use_NEF == true && Patient.need_NEF == true) || Patient.need_NEF == true)
|
||||
if (self.MissionConfig.emergency_medical_service.use_NEF || Patient.need_NEF == true)
|
||||
self._ADisVehiclesNeed["29"]++;
|
||||
|
||||
if ((self.MissionConfig.emergency_medical_service.use_RTH == true && Patient.need_RTH == true) || Patient.need_RTH == true)
|
||||
if (self.MissionConfig.emergency_medical_service.use_RTH || Patient.need_RTH == true)
|
||||
self._ADisVehiclesNeed["31"]++;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user