Purchase order footer calculation changes