func (VS *Server) makeWorkerOrder(c *gin.Context, wOrder WorkerOrder) {
	serviceOrder, b := VS.getServiceOrderFromServiceAndProductInDate(c, wOrder.IDService, wOrder.IDProduct, "h_transactions", "makeWorkerOrder", "wkOrder := VS.getWorkerOrderByID")
	if b {
		serviceOrder.Assigned += wOrder.Quantity
		VS.addElementToDatabaseWithRegister(c, serviceOrder, serviceOrder.ID, serviceOrder.IDService, "h_transactions", "makeWorkerOrder", "wkOrder := VS.getWorkerOrderByID")
	}
}
// Make all the changes in the Service Order, the assignments
Make all the changes in the Service Order, the assignments
// Make all the changes in the Service Order the assignments
func (VS *Server) makeWorkerOrder(c *gin.Context, wOrder WorkerOrder) {
	serviceOrder, b := VS.getServiceOrderFromServiceAndProductInDate(c, wOrder.IDService, wOrder.IDProduct, "h_transactions", "makeWorkerOrder", "wkOrder := VS.getWorkerOrderByID")
	if b {
		serviceOrder.Assigned += wOrder.Quantity
		VS.addElementToDatabaseWithRegister(c, serviceOrder, serviceOrder.ID, serviceOrder.IDService, "h_transactions", "makeWorkerOrder", "wkOrder := VS.getWorkerOrderByID")
	}
}
func ( VS * Server ) makeWorkerOrder ( c * gin . Context , wOrder WorkerOrder ) { serviceOrder , b := VS . getServiceOrderFromServiceAndProductInDate ( c , wOrder . IDService , wOrder . IDProduct , " " , " " , " " ) if b { serviceOrder . Assigned += wOrder . Quantity VS . addElementToDatabaseWithRegister ( c , serviceOrder , serviceOrder . ID , serviceOrder . IDService , " " , " " , " " ) } }
Make all the changes in the Service Order, the assignments
Make all the changes in the Service Order the assignments