mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-25 06:51:08 +00:00
This fixes #567
This commit is contained in:
@@ -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])
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user