fix: Multi-Invoice Match Score auf 98 erhöht
Multi-Invoice Matches werden jetzt bevorzugt angezeigt, da sie besser zum Transaktionsbetrag passen als Einzelmatches. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
dbcad6a884
commit
f9852f98f6
1 changed files with 1 additions and 1 deletions
|
|
@ -1215,7 +1215,7 @@ class BankImportTransaction extends CommonObject
|
|||
'invoices' => $matchedInvoices,
|
||||
'total' => $runningTotal,
|
||||
'difference' => $targetAmount - $runningTotal,
|
||||
'match_score' => abs($runningTotal - $targetAmount) < 0.01 ? 100 : 90
|
||||
'match_score' => abs($runningTotal - $targetAmount) < 0.01 ? 100 : 98
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue