This commit is contained in:
2025-06-13 23:58:45 +02:00
parent c42ee406b5
commit cdeb03e8c9

View File

@@ -514,15 +514,16 @@ func (s TransactionImpl) validateAndEnrichTransaction(ctx context.Context, tx *s
// There are the following constallations and their explanation:
//
// Account | TreasureChest | Value | Description
// Y | Y | + | Invalid
// Y | Y | - | Bought a good
// Y | N | + | Income
// Y | N | - | For moving money between accounts
// N | Y | + | Saving
// N | Y | - | For moving money between treasure chests
// N | N | + | Invalid
// N | N | - | Invalid
// Account | TreasureChest | Value | Description
// --------|---------------|-------|----------------
// Y | Y | + | Invalid
// Y | Y | - | Bought a good
// Y | N | + | Income
// Y | N | - | For moving money between accounts
// N | Y | + | Saving
// N | Y | - | For moving money between treasure chests
// N | N | + | Invalid
// N | N | - | Invalid
func (s TransactionImpl) updateErrors(t *types.Transaction) {
errorStr := ""