Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix bill scan.
James Cole6a01a9bdfdaa
diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.phpindex 21a86f10c5..959e6ec8b5 100644--- a/app/Repositories/Bill/BillRepository.php+++ b/app/Repositories/Bill/BillRepository.php@@ -276,7 +276,7 @@ class BillRepository implements BillRepositoryInterface$matches = explode(',', $bill->match);$description = strtolower($journal->description) . ' ' . strtolower($journal->destination_account->name);$wordMatch = $this->doWordMatch($matches, $description);- $amountMatch = $this->doAmountMatch($journal->amount, $bill->amount_min, $bill->amount_max);+ $amountMatch = $this->doAmountMatch($journal->amount_positive, $bill->amount_min, $bill->amount_max);/** If both, update!