mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
This fixes #567
This commit is contained in:
parent
6442887c1a
commit
47aa996b6b
@ -145,7 +145,7 @@ class ConvertController extends Controller
|
|||||||
$errors = $repository->convert($journal, $destinationType, $source, $destination);
|
$errors = $repository->convert($journal, $destinationType, $source, $destination);
|
||||||
|
|
||||||
if ($errors->count() > 0) {
|
if ($errors->count() > 0) {
|
||||||
return redirect(route('transactions.convert', [strtolower($destinationType->type), $journal->id]))->withErrors($errors)->withInput();
|
return redirect(route('transactions.convert.index', [strtolower($destinationType->type), $journal->id]))->withErrors($errors)->withInput();
|
||||||
}
|
}
|
||||||
|
|
||||||
Session::flash('success', trans('firefly.converted_to_' . $destinationType->type));
|
Session::flash('success', trans('firefly.converted_to_' . $destinationType->type));
|
||||||
|
@ -772,7 +772,7 @@ Breadcrumbs::register(
|
|||||||
$breadcrumbs->parent('transactions.show', $journal);
|
$breadcrumbs->parent('transactions.show', $journal);
|
||||||
$breadcrumbs->push(
|
$breadcrumbs->push(
|
||||||
trans('firefly.convert_to_' . $destinationType->type, ['description' => $journal->description]),
|
trans('firefly.convert_to_' . $destinationType->type, ['description' => $journal->description]),
|
||||||
route('transactions.convert', [strtolower($destinationType->type), $journal->id])
|
route('transactions.convert.index', [strtolower($destinationType->type), $journal->id])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user