Zero-liquid discharge treatment of wastewater from a fertilizer factory