Do not sum purchase line without amount to calculate purchase amounts
04e9bc5b56f3 removed the test against empty amount with the line test.
Closes #13784 (closed)
04e9bc5b56f3 removed the test against empty amount with the line test.
Closes #13784 (closed)