mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 22:24:31 -04: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->invoice_ids = collect($invoices)->pluck('hashed_id')->implode(',');
|
||||||
$this->bt->status_id = BankTransaction::STATUS_CONVERTED;
|
$this->bt->status_id = BankTransaction::STATUS_CONVERTED;
|
||||||
|
$this->bt->payment_id = $payment->id
|
||||||
$this->bt->save();
|
$this->bt->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -751,7 +751,7 @@ trait GeneratesCounter
|
|||||||
$replace[] = $client->number;
|
$replace[] = $client->number;
|
||||||
|
|
||||||
$search[] = '{$client_id_number}';
|
$search[] = '{$client_id_number}';
|
||||||
$replace[] = $client->id_number;
|
$replace[] = $client->id_number ?: $client->number;
|
||||||
|
|
||||||
$search[] = '{$clientIdNumber}';
|
$search[] = '{$clientIdNumber}';
|
||||||
$replace[] = $client->id_number ?: $client->number;
|
$replace[] = $client->id_number ?: $client->number;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user