Skip to content

Commit

Permalink
fix: import typo
Browse files Browse the repository at this point in the history
  • Loading branch information
howeyc committed Apr 12, 2022
1 parent 4d2487c commit 52ee88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ var importCmd = &cobra.Command{
expenseAccount.Balance = expenseAccount.Balance.Mul(decScale)

// Csv amount is the negative of the expense amount
csvAccount.Balance = csvAccount.Balance.Neg()
csvAccount.Balance = expenseAccount.Balance.Neg()

// Create valid transaction for print in ledger format
trans := &ledger.Transaction{Date: csvDate, Payee: record[payeeColumn]}
Expand Down

0 comments on commit 52ee88e

Please sign in to comment.