mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
16 lines
423 B
PHP
16 lines
423 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
class SchedulerController extends Controller
|
|
{
|
|
public function index()
|
|
{
|
|
if (auth()->user()->company()->account->latest_version == '0.0.0') {
|
|
return response()->json(['message' => ctrans('texts.scheduler_has_never_run')], 400);
|
|
} else {
|
|
return response()->json(['message' => ctrans('texts.scheduler_has_run')], 200);
|
|
}
|
|
}
|
|
}
|