mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 01:16:46 -06:00
Give correct info about import jobs.
This commit is contained in:
parent
cb81855a17
commit
f42cd0c7c3
@ -237,8 +237,8 @@ class UserRepository implements UserRepositoryInterface
|
||||
->where('budgets.user_id', $user->id)->get(['budget_limits.budget_id'])->count();
|
||||
$return['export_jobs'] = $user->exportJobs()->count();
|
||||
$return['export_jobs_success'] = $user->exportJobs()->where('status', 'export_downloaded')->count();
|
||||
$return['import_jobs'] = $user->exportJobs()->count();
|
||||
$return['import_jobs_success'] = $user->exportJobs()->where('status', 'import_complete')->count();
|
||||
$return['import_jobs'] = $user->importJobs()->count();
|
||||
$return['import_jobs_success'] = $user->importJobs()->where('status', 'finished')->count();
|
||||
$return['rule_groups'] = $user->ruleGroups()->count();
|
||||
$return['rules'] = $user->rules()->count();
|
||||
$return['tags'] = $user->tags()->count();
|
||||
|
Loading…
Reference in New Issue
Block a user