func cleanServiceOrdersWithoutWindow(array []ServiceOrder) []ServiceOrder {
	array = revertServiceOrder(array)
	var ordersClean []ServiceOrder
	for i := 0; i < len(array); i++ {
		if array[i].Quantity > array[i].AlreadyMade {
			ordersClean = append(ordersClean, array[i])
		}
	}
	return ordersClean
}
// This method cleans the array of ServiceOrder and leave only the orders that are not complete
This method cleans the array of ServiceOrder and leave only the orders that are not complete
// This method cleans the array of ServiceOrder and leave only the orders that are not complete
func cleanServiceOrdersWithoutWindow(array []ServiceOrder) []ServiceOrder {
	array = revertServiceOrder(array)
	var ordersClean []ServiceOrder
	for i := 0; i < len(array); i++ {
		if array[i].Quantity > array[i].AlreadyMade {
			ordersClean = append(ordersClean, array[i])
		}
	}
	return ordersClean
}
func cleanServiceOrdersWithoutWindow ( array [ ] ServiceOrder ) [ ] ServiceOrder { array = revertServiceOrder ( array ) var ordersClean [ ] ServiceOrder for i := 0 ; i < len ( array ) ; i ++ { if array [ i ] . Quantity > array [ i ] . AlreadyMade { ordersClean = append ( ordersClean , array [ i ] ) } } return ordersClean }
This method cleans the array of ServiceOrder and leave only the orders that are not complete
This method cleans the array of ServiceOrder and leave only the orders that are not complete