mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
All code for bunq.
This commit is contained in:
@@ -94,7 +94,7 @@ class JobStatusController extends Controller
|
||||
if ($count === 0) {
|
||||
$json['report_txt'] = trans('import.result_no_transactions');
|
||||
}
|
||||
if ($count === 1) {
|
||||
if ($count === 1 && null !== $importJob->tag_id) {
|
||||
$json['report_txt'] = trans('import.result_one_transaction', ['route' => route('tags.show', [$importJob->tag_id]), 'tag' => $importJob->tag->tag]);
|
||||
}
|
||||
if ($count > 1 && null !== $importJob->tag_id) {
|
||||
|
@@ -151,8 +151,8 @@ class PrerequisitesController extends Controller
|
||||
if ($result->count() > 0) {
|
||||
$request->session()->flash('error', $result->first());
|
||||
|
||||
// redirect back:
|
||||
return redirect(route('import.prerequisites.index', [$importProvider, $importJob->key]))->withInput();
|
||||
// redirect back to job, if has job:
|
||||
return redirect(route('import.prerequisites.index', [$importProvider, $importJob->key ?? '']))->withInput();
|
||||
}
|
||||
|
||||
// session flash!
|
||||
|
Reference in New Issue
Block a user