Extra debug info for #2159 and some kernel changes.

This commit is contained in:
James Cole
2019-03-16 21:54:25 +01:00
parent e2ebd01719
commit f6f21e02ac
3 changed files with 18 additions and 1 deletions

View File

@@ -221,6 +221,7 @@ class SingleController extends Controller
*/
public function delete(TransactionJournal $journal)
{
Log::debug(sprintf('Start of delete view for journal #%d', $journal->id));
// Covered by another controller's tests
// @codeCoverageIgnoreStart
if ($this->isOpeningBalance($journal)) {
@@ -232,6 +233,7 @@ class SingleController extends Controller
$subTitle = (string)trans('firefly.delete_' . $what, ['description' => $journal->description]);
// put previous url in session
Log::debug('Will try to remember previous URI');
$this->rememberPreviousUri('transactions.delete.uri');
return view('transactions.single.delete', compact('journal', 'subTitle', 'what'));