diff --git a/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php b/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php index eda258c8e..a4f3c54c7 100644 --- a/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php +++ b/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesLedgersCommand.php @@ -4,7 +4,7 @@ namespace App\Console\Commands; use Illuminate\Console\Command; -use App\Jobs\Commands\MiningTaxes\PreFetchMiningTaxesLedgers; +use App\Jobs\Commands\MiningTaxes\PreFetchMiningTaxesLedgers as PreFetch; class ExecuteMiningTaxesLedgersCommand extends Command { @@ -13,7 +13,7 @@ class ExecuteMiningTaxesLedgersCommand extends Command * * @var string */ - protected $signature = 'miningtax:ledgers'; + protected $signature = 'mt:ledgers'; /** * The console command description. @@ -39,7 +39,7 @@ class ExecuteMiningTaxesLedgersCommand extends Command */ public function handle() { - PreFetchMiningTaxesLedgers::dispatch(); + PreFetch::dispatch(); return 0; } diff --git a/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php b/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php index 732bc778f..822104ea0 100644 --- a/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php +++ b/app/Console/Commands/MiningTaxes/ExecuteMiningTaxesObserversCommand.php @@ -4,7 +4,7 @@ namespace App\Console\Commands\MiningTaxes; use Illuminate\Console\Command; -use App\Jobs\Commands\MiningTaxes\FetchMiningTaxesObservers; +use App\Jobs\Commands\MiningTaxes\FetchMiningTaxesObservers as FetchObservers; class ExecuteMiningTaxesObserversCommand extends Command { @@ -13,7 +13,7 @@ class ExecuteMiningTaxesObserversCommand extends Command * * @var string */ - protected $signature = 'miningtax:observer'; + protected $signature = 'mt:observer'; /** * The console command description. @@ -39,7 +39,7 @@ class ExecuteMiningTaxesObserversCommand extends Command */ public function handle() { - FetchMiningTaxesObservers::dispatch(); + FetchObservers::dispatch(); return 0; } diff --git a/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php b/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php index 06109707d..d1c3cc439 100644 --- a/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php +++ b/app/Console/Commands/MiningTaxes/ExecuteSendMiningTaxesInvoiceCommand.php @@ -4,7 +4,7 @@ namespace App\Console\Commands; use Illuminate\Console\Command; -use App\Jobs\Commands\MiningTaxes\SendMiningTaxesInvoices; +use App\Jobs\Commands\MiningTaxes\SendMiningTaxesInvoices as SendInvoice; class ExecuteSendMiningTaxesInvoiceCommand extends Command { @@ -13,7 +13,7 @@ class ExecuteSendMiningTaxesInvoiceCommand extends Command * * @var string */ - protected $signature = 'miningtax:send'; + protected $signature = 'mt:send'; /** * The console command description. @@ -39,7 +39,7 @@ class ExecuteSendMiningTaxesInvoiceCommand extends Command */ public function handle() { - SendMiningTaxesInvoices::dispatch(); + SendInvoice::dispatch(); return 0; } diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 718a4b896..40ea65639 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -29,9 +29,9 @@ class Kernel extends ConsoleKernel Commands\Data\Test::class, Commands\Eve\ItemPricesUpdateCommand::class, Commands\Finances\UpdateAllianceWalletJournal::class, - //Commands\MiningTaxes\ExecuteMiningTaxesObserversCommand::class, - //Commands\MiningTaxes\ExecuteMiningTaxesLedgersCommand::class, - //Commands\MiningTaxes\ExecuteSendMiningTaxesInvoiceCommand::class, + Commands\MiningTaxes\ExecuteMiningTaxesObserversCommand::class, + Commands\MiningTaxes\ExecuteMiningTaxesLedgersCommand::class, + Commands\MiningTaxes\ExecuteSendMiningTaxesInvoiceCommand::class, ]; /**