Files
exchange-2.0/app/Console/Commands/V2/AutoFillPurchaseOrderV2Command.php
T

35 lines
712 B
PHP

<?php
namespace App\Console\Commands\V2;
use App\Classes\Jobs\Commands\V2\AutoFillPurchaseOrderV2CommandJob;
use Illuminate\Console\Command;
class AutoFillPurchaseOrderV2Command extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'purchase-order-autofill-command';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Auto fill up the purchase order for booking that have payment';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
AutoFillPurchaseOrderV2CommandJob::dispatch();
}
}