server status included into the admin settings

This commit is contained in:
Čarodej
2022-02-15 09:33:53 +01:00
parent da74a38605
commit b897eaf482
14 changed files with 347 additions and 90 deletions

View File

@@ -39,10 +39,11 @@ class GetDashboardDataController extends Controller
'records' => $upload,
],
],
'app' => [
'license' => get_settings('license'),
'version' => config('vuefilemanager.version'),
'earnings' => format_currency($totalEarnings, 'USD'), // todo: refactor currency to global setup
'app' => [
'isRunningCron' => isRunningCron(),
'license' => get_settings('license'),
'version' => config('vuefilemanager.version'),
'earnings' => format_currency($totalEarnings, 'USD'), // todo: refactor currency to global setup or plan currency
],
]);
}