XMLWAN 4 vuotta sitten
vanhempi
commit
6c811ccd1c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      controllers/dialysis_api_controller.go

+ 1 - 1
controllers/dialysis_api_controller.go Näytä tiedosto

1280
 		dewater_amount = 0
1280
 		dewater_amount = 0
1281
 		if evaluation.DryWeight > 0 {
1281
 		if evaluation.DryWeight > 0 {
1282
 			dewater_amount = evaluation.WeightBefore - evaluation.DryWeight - evaluation.AdditionalWeight
1282
 			dewater_amount = evaluation.WeightBefore - evaluation.DryWeight - evaluation.AdditionalWeight
1283
-			if templateInfo.TemplateId == 17 && templateInfo.TemplateId == 22 && templateInfo.TemplateId == 21 {
1283
+			if templateInfo.TemplateId == 17 && templateInfo.TemplateId == 22 && templateInfo.TemplateId == 21 && templateInfo.TemplateId == 34 {
1284
 				dewater_amount = dewater_amount * 1000
1284
 				dewater_amount = dewater_amount * 1000
1285
 			}
1285
 			}
1286
 			if dewater_amount <= 0 {
1286
 			if dewater_amount <= 0 {