1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

add payment to bank transaction matching

This commit is contained in:
David Bomba 2022-12-06 13:26:37 +11:00
parent 5580f3c924
commit 772d8d036f
2 changed files with 2 additions and 1 deletions

View File

@ -389,6 +389,7 @@ class MatchBankTransactions implements ShouldQueue
$this->bt->invoice_ids = collect($invoices)->pluck('hashed_id')->implode(',');
$this->bt->status_id = BankTransaction::STATUS_CONVERTED;
$this->bt->payment_id = $payment->id
$this->bt->save();
}

View File

@ -751,7 +751,7 @@ trait GeneratesCounter
$replace[] = $client->number;
$search[] = '{$client_id_number}';
$replace[] = $client->id_number;
$replace[] = $client->id_number ?: $client->number;
$search[] = '{$clientIdNumber}';
$replace[] = $client->id_number ?: $client->number;