mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
52 lines
1.5 KiB
PHP
Executable File
52 lines
1.5 KiB
PHP
Executable File
<?php
|
|
|
|
namespace Streamline\Console;
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
use Streamline\Console\Commands\CorrectFinanceCommand;
|
|
use Streamline\Console\Commands\ImportCsvPriceListsCommand;
|
|
use Streamline\Console\Commands\MigrateInsuranceExpenditureCommand;
|
|
use Streamline\Console\Commands\RedesignStockTrackingCommand;
|
|
use Streamline\Console\Commands\SendAppointmentRemaindersCommand;
|
|
use Streamline\Console\Commands\ImportCsvItemsCommand;
|
|
use Streamline\Console\Commands\SetupCHICommand;
|
|
|
|
class Kernel extends ConsoleKernel {
|
|
/**
|
|
* The Artisan commands provided by your application.
|
|
*
|
|
* @var array
|
|
*/
|
|
|
|
protected $commands = [
|
|
// Publishing commands
|
|
SendAppointmentRemaindersCommand::class,
|
|
ImportCsvItemsCommand::class,
|
|
ImportCsvPriceListsCommand::class,
|
|
CorrectFinanceCommand::class,
|
|
SetupCHICommand::class,
|
|
MigrateInsuranceExpenditureCommand::class,
|
|
RedesignStockTrackingCommand::class,
|
|
];
|
|
|
|
/**
|
|
* Define the application's command schedule.
|
|
*
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
* @return void
|
|
*/
|
|
protected function schedule(Schedule $schedule) {
|
|
$schedule->command('appointment:remainders')->dailyAt('09:00');
|
|
}
|
|
|
|
/**
|
|
* Register the Closure based commands for the application.
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function commands() {
|
|
require base_path('routes/console.php');
|
|
}
|
|
}
|