added loe and afe cost, for loop still not working in process data click event