Remove debug info.

This commit is contained in:
James Cole 2018-02-16 16:57:54 +01:00
parent 1fd783de69
commit 2ee0490141
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -78,7 +78,7 @@ class TransactionJournalFactory
$journal = $repository->storeBasic($values); $journal = $repository->storeBasic($values);
// todo link other stuff to journal (meta-data etc). // todo link other stuff to journal (meta-data etc). tags
// start creating transactions: // start creating transactions:
/** @var array $trData */ /** @var array $trData */
@ -87,14 +87,9 @@ class TransactionJournalFactory
$factory->setUser($this->user); $factory->setUser($this->user);
$trData['reconciled'] = $data['reconciled'] ?? false; $trData['reconciled'] = $data['reconciled'] ?? false;
$transactions = $factory->createPair($journal, $trData); $factory->createPair($journal, $trData);
} }
$repository->markCompleted($journal);
echo 'id is ', $journal->id;
exit;
//$currency = $this->findCurrency($data['currency_id'], $data['currency_code']);
return $journal; return $journal;
} }