Files
shipping-portal/app/Console/Commands/V2/CheckStorageInvoicesOrdersV2Command.php
T
2023-12-28 01:58:49 +08:00

37 lines
777 B
PHP

<?php
namespace App\Console\Commands\V2;
use App\Classes\Jobs\Commands\V2\CheckStorageInvoicesOrdersV2CommandJob;
use Illuminate\Console\Command;
class CheckStorageInvoicesOrdersV2Command extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'check-storage-invoices-orders-command';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Check all storage invoices due to make sure that they are up to date daily, prevent \'back door\' cases';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
CheckStorageInvoicesOrdersV2CommandJob::dispatch();
}
}