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:
parent
5580f3c924
commit
772d8d036f
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user