fixed bug with rounding, use getGrandTotal() instead of getTotalDue()