XMLWAN пре 2 година
родитељ
комит
c355e05bf3
2 измењених фајлова са 4 додато и 0 уклоњено
  1. 2 0
      controllers/gobal_config_api_controller.go
  2. 2 0
      controllers/stock_in_api_controller.go

+ 2 - 0
controllers/gobal_config_api_controller.go Прегледај датотеку

@@ -2401,6 +2401,7 @@ func (c *GobalConfigApiController) GetDrugFlow() {
2401 2401
 	dealerList, _ := service.GetAllDealerList(orgId)
2402 2402
 	medical, _ := service.GetBaseDrugMedical(drug_id)
2403 2403
 	houseList, _ := service.GetAllStoreHouseList(orgId)
2404
+	patientList, _ := service.GetAllPatientListSix(orgId)
2404 2405
 	c.ServeSuccessJSON(map[string]interface{}{
2405 2406
 		"list":             list,
2406 2407
 		"total":            total,
@@ -2408,6 +2409,7 @@ func (c *GobalConfigApiController) GetDrugFlow() {
2408 2409
 		"dealerList":       dealerList,
2409 2410
 		"drug":             medical,
2410 2411
 		"houseList":        houseList,
2412
+		"patientList":      patientList,
2411 2413
 	})
2412 2414
 }
2413 2415
 

+ 2 - 0
controllers/stock_in_api_controller.go Прегледај датотеку

@@ -5134,12 +5134,14 @@ func (this *StockManagerApiController) GetStockFlow() {
5134 5134
 	manufacturerList, _ := service.GetAllManufacturerList(orgId)
5135 5135
 	good, _ := service.GetGoodInformationByGoodId(good_id)
5136 5136
 	houseList, _ := service.GetAllStoreHouseList(adminUserInfo.CurrentOrgId)
5137
+	patients, _ := service.GetAllPatientListSix(adminUserInfo.CurrentOrgId)
5137 5138
 	this.ServeSuccessJSON(map[string]interface{}{
5138 5139
 		"list":             list,
5139 5140
 		"total":            total,
5140 5141
 		"manufacturerList": manufacturerList,
5141 5142
 		"good":             good,
5142 5143
 		"houseList":        houseList,
5144
+		"patients":         patients,
5143 5145
 	})
5144 5146
 }
5145 5147