Always force a baseType

This commit is contained in:
David Bomba 2022-10-24 20:00:01 +11:00
parent 78cc2c9914
commit 8ba4c07069

View File

@ -149,7 +149,7 @@ class MatchBankTransactions implements ShouldQueue
} }
private function matchInvoicePayment($input) :self private function matchInvoicePayment($input) :self
{ { nlog($input);
$this->bt = BankTransaction::find($input['id']); $this->bt = BankTransaction::find($input['id']);
$_invoices = Invoice::withTrashed()->find($this->getInvoices($input['invoice_ids'])); $_invoices = Invoice::withTrashed()->find($this->getInvoices($input['invoice_ids']));
@ -166,7 +166,7 @@ class MatchBankTransactions implements ShouldQueue
} }
private function matchExpense($input) :self private function matchExpense($input) :self
{ { nlog($input);
//if there is a category id, pull it from Yodlee and insert - or just reuse!! //if there is a category id, pull it from Yodlee and insert - or just reuse!!
$this->bt = BankTransaction::find($input['id']); $this->bt = BankTransaction::find($input['id']);