commands
This commit is contained in:
@@ -4,7 +4,7 @@ namespace App\Console\Commands;
|
|||||||
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
|
|
||||||
use App\Jobs\Commands\MiningTaxes\PreFetchMiningTaxesLedgers;
|
use App\Jobs\Commands\MiningTaxes\PreFetchMiningTaxesLedgers as PreFetch;
|
||||||
|
|
||||||
class ExecuteMiningTaxesLedgersCommand extends Command
|
class ExecuteMiningTaxesLedgersCommand extends Command
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ class ExecuteMiningTaxesLedgersCommand extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'miningtax:ledgers';
|
protected $signature = 'mt:ledgers';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
@@ -39,7 +39,7 @@ class ExecuteMiningTaxesLedgersCommand extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
PreFetchMiningTaxesLedgers::dispatch();
|
PreFetch::dispatch();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ namespace App\Console\Commands\MiningTaxes;
|
|||||||
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
|
|
||||||
use App\Jobs\Commands\MiningTaxes\FetchMiningTaxesObservers;
|
use App\Jobs\Commands\MiningTaxes\FetchMiningTaxesObservers as FetchObservers;
|
||||||
|
|
||||||
class ExecuteMiningTaxesObserversCommand extends Command
|
class ExecuteMiningTaxesObserversCommand extends Command
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ class ExecuteMiningTaxesObserversCommand extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'miningtax:observer';
|
protected $signature = 'mt:observer';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
@@ -39,7 +39,7 @@ class ExecuteMiningTaxesObserversCommand extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
FetchMiningTaxesObservers::dispatch();
|
FetchObservers::dispatch();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ namespace App\Console\Commands;
|
|||||||
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
|
|
||||||
use App\Jobs\Commands\MiningTaxes\SendMiningTaxesInvoices;
|
use App\Jobs\Commands\MiningTaxes\SendMiningTaxesInvoices as SendInvoice;
|
||||||
|
|
||||||
class ExecuteSendMiningTaxesInvoiceCommand extends Command
|
class ExecuteSendMiningTaxesInvoiceCommand extends Command
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ class ExecuteSendMiningTaxesInvoiceCommand extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'miningtax:send';
|
protected $signature = 'mt:send';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
@@ -39,7 +39,7 @@ class ExecuteSendMiningTaxesInvoiceCommand extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
SendMiningTaxesInvoices::dispatch();
|
SendInvoice::dispatch();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,9 +29,9 @@ class Kernel extends ConsoleKernel
|
|||||||
Commands\Data\Test::class,
|
Commands\Data\Test::class,
|
||||||
Commands\Eve\ItemPricesUpdateCommand::class,
|
Commands\Eve\ItemPricesUpdateCommand::class,
|
||||||
Commands\Finances\UpdateAllianceWalletJournal::class,
|
Commands\Finances\UpdateAllianceWalletJournal::class,
|
||||||
//Commands\MiningTaxes\ExecuteMiningTaxesObserversCommand::class,
|
Commands\MiningTaxes\ExecuteMiningTaxesObserversCommand::class,
|
||||||
//Commands\MiningTaxes\ExecuteMiningTaxesLedgersCommand::class,
|
Commands\MiningTaxes\ExecuteMiningTaxesLedgersCommand::class,
|
||||||
//Commands\MiningTaxes\ExecuteSendMiningTaxesInvoiceCommand::class,
|
Commands\MiningTaxes\ExecuteSendMiningTaxesInvoiceCommand::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user