Some code cleanup.

This commit is contained in:
James Cole
2016-03-29 16:16:14 +02:00
parent 6fdfec3967
commit 08b5e66628
9 changed files with 16 additions and 19 deletions

View File

@@ -466,7 +466,7 @@ class BillRepository implements BillRepositoryInterface
$description = strtolower($journal->description) . ' ' . strtolower(TransactionJournal::destinationAccount($journal)->name);
// new: add source to word match:
$description .= ' '.strtolower(TransactionJournal::sourceAccount($journal)->name);
$description .= ' ' . strtolower(TransactionJournal::sourceAccount($journal)->name);
$wordMatch = $this->doWordMatch($matches, $description);
$amountMatch = $this->doAmountMatch(TransactionJournal::amountPositive($journal), $bill->amount_min, $bill->amount_max);