From 6b94e2ed4171ed07534e8d6f12bac939ac96209e Mon Sep 17 00:00:00 2001 From: Sam Lown Date: Wed, 13 Sep 2023 11:34:43 +0000 Subject: [PATCH] Removing debug info --- bill/invoice.go | 1 - 1 file changed, 1 deletion(-) diff --git a/bill/invoice.go b/bill/invoice.go index 7638f1fc..25850cea 100644 --- a/bill/invoice.go +++ b/bill/invoice.go @@ -273,7 +273,6 @@ func (inv *Invoice) RemoveIncludedTaxes() (*Invoice, error) { // Account for any rounding errors that we just can't handle if !inv.Totals.TotalWithTax.Equals(i2.Totals.TotalWithTax) { rnd := inv.Totals.TotalWithTax.Subtract(i2.Totals.TotalWithTax) - fmt.Printf("A: %s B: %s C: %s\n", inv.Totals.TotalWithTax.String(), i2.Totals.TotalWithTax.String(), rnd.String()) i2.Totals.Rounding = &rnd if err := i2.Calculate(); err != nil { return nil, err