1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00

Return list of bank transactions

This commit is contained in:
David Bomba 2022-10-24 21:23:52 +11:00
parent 049da325af
commit 9a8468906a

View File

@ -111,7 +111,7 @@ class MatchBankTransactions implements ShouldQueue
$this->matchExpense($input);
}
return $this->bts;
return BankTransaction::whereIn('id', $this->bts);
}
@ -165,7 +165,7 @@ class MatchBankTransactions implements ShouldQueue
}
$this->bts->push($this->bt);
$this->bts->push($this->bt->id);
return $this;
}
@ -192,7 +192,7 @@ class MatchBankTransactions implements ShouldQueue
$this->bt->status_id = BankTransaction::STATUS_CONVERTED;
$this->bt->save();
$this->bts->push($this->bt);
$this->bts->push($this->bt->id);
return $this;
}