From 2ee04901412713872b62855e2f09f9c542dc416c Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 16 Feb 2018 16:57:54 +0100 Subject: [PATCH] Remove debug info. --- app/Factory/TransactionJournalFactory.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app/Factory/TransactionJournalFactory.php b/app/Factory/TransactionJournalFactory.php index 3dd67257e6..8ff3f5ec11 100644 --- a/app/Factory/TransactionJournalFactory.php +++ b/app/Factory/TransactionJournalFactory.php @@ -78,7 +78,7 @@ class TransactionJournalFactory $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: /** @var array $trData */ @@ -87,14 +87,9 @@ class TransactionJournalFactory $factory->setUser($this->user); $trData['reconciled'] = $data['reconciled'] ?? false; - $transactions = $factory->createPair($journal, $trData); + $factory->createPair($journal, $trData); } - - echo 'id is ', $journal->id; - exit; - - - //$currency = $this->findCurrency($data['currency_id'], $data['currency_code']); + $repository->markCompleted($journal); return $journal; }