PO edit: fixing total amount due bug