func (VS *Server) showDeliveriesFromCentral(c *gin.Context) {
	service := VS.getCentralWarehouse(c, "h_deliveries", "showDeliveriesFromCentral", "service := VS.getCentralWarehouse")
	deliveries := VS.getAllDeliveriesSentByServiceID(c, service.ID, false)
	deliveriesHTML := VS.deliveryToHTML(c, deliveries)
	deliveriesHTML = revertDeliveries(deliveriesHTML)
	render(c, gin.H{
		"dPack": deliveriesHTML,
	}, "deliveries-from-central.html")
}
// This handler shows the different deliveries from central that was delivered to the services
This handler shows the different deliveries from central that was delivered to the services
// This handler shows the different deliveries from central that was delivered to the services
func (VS *Server) showDeliveriesFromCentral(c *gin.Context) {
	service := VS.getCentralWarehouse(c, "h_deliveries", "showDeliveriesFromCentral", "service := VS.getCentralWarehouse")
	deliveries := VS.getAllDeliveriesSentByServiceID(c, service.ID, false)
	deliveriesHTML := VS.deliveryToHTML(c, deliveries)
	deliveriesHTML = revertDeliveries(deliveriesHTML)
	render(c, gin.H{
		"dPack": deliveriesHTML,
	}, "deliveries-from-central.html")
}
func ( VS * Server ) showDeliveriesFromCentral ( c * gin . Context ) { service := VS . getCentralWarehouse ( c , " " , " " , " " ) deliveries := VS . getAllDeliveriesSentByServiceID ( c , service . ID , false ) deliveriesHTML := VS . deliveryToHTML ( c , deliveries ) deliveriesHTML = revertDeliveries ( deliveriesHTML ) render ( c , gin . H { " " : deliveriesHTML , } , " " ) }
This handler shows the different deliveries from central that was delivered to the services
This handler shows the different deliveries from central that was delivered to the services