bugfix
This commit is contained in:
@@ -12,7 +12,7 @@ class SendSupervisorCheckStatsCommand extends Command
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'app:send-supervisor-check-stats';
|
||||
protected $signature = 'report:send-supervisor-check-stats';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
@@ -24,7 +24,7 @@ class SendSupervisorCheckStatsCommand extends Command
|
||||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function handle(SendSupervisorCheckStatsReportService $service)
|
||||
public function handle(SendSupervisorCheckStatsReportService $service): void
|
||||
{
|
||||
$service->execute();
|
||||
$this->info('Done!');
|
||||
|
||||
@@ -12,7 +12,7 @@ class CumulativeSupervisorPerformanceStatsController extends Controller
|
||||
{
|
||||
public function index(Request $request): JsonResponse
|
||||
{
|
||||
$query = DB::table('expert_performances')->selectRaw("
|
||||
$query = DB::table('supervisor_performances')->selectRaw("
|
||||
province_id,
|
||||
province_name,
|
||||
SUM(calls) AS total,
|
||||
@@ -21,7 +21,7 @@ class CumulativeSupervisorPerformanceStatsController extends Controller
|
||||
SUM(bad) AS bad
|
||||
")
|
||||
->groupBy('province_id', 'province_name')
|
||||
->unionAll(DB::table('expert_performances')->selectRaw("
|
||||
->unionAll(DB::table('supervisor_performances')->selectRaw("
|
||||
0 as province_id,
|
||||
'کشوری' as province_name,
|
||||
SUM(calls) AS total,
|
||||
|
||||
BIN
public/file_example_WAV_1MG.wav
Normal file
BIN
public/file_example_WAV_1MG.wav
Normal file
Binary file not shown.
@@ -3,11 +3,8 @@
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->purpose('Display an inspiring quote');
|
||||
|
||||
Schedule::command('report:send-call-stats')->everyTwoMinutes();
|
||||
Schedule::command('report:send-system-message-stats')->everyThreeMinutes();
|
||||
Schedule::command('report:send-keypress-stats')->everyFourMinutes();
|
||||
Schedule::command('report:send-people-message-stats')->everyFiveMinutes();
|
||||
Schedule::command('report:send-supervisor-check-stats')->everyFiveMinutes();
|
||||
|
||||
Reference in New Issue
Block a user