mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 06:43:23 +00:00
Rename command.
This commit is contained in:
@@ -10,13 +10,12 @@ use stdClass;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CorrectionSkeleton
|
* Class CorrectionSkeleton
|
||||||
* TODO DONT FORGET TO ADD THIS TO THE DOCKER BUILD
|
|
||||||
*/
|
*/
|
||||||
class CorrectBalanceAmounts extends Command
|
class CorrectAccountBalance extends Command
|
||||||
{
|
{
|
||||||
protected $description = 'Recalculate all account balance amounts';
|
protected $description = 'Recalculate all account balance amounts';
|
||||||
|
|
||||||
protected $signature = 'firefly-iii:correct-balance-amounts';
|
protected $signature = 'firefly-iii:correct-account-balance';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return int
|
* @return int
|
@@ -74,7 +74,7 @@ class CorrectDatabase extends Command
|
|||||||
'firefly-iii:unify-group-accounts',
|
'firefly-iii:unify-group-accounts',
|
||||||
'firefly-iii:trigger-credit-recalculation',
|
'firefly-iii:trigger-credit-recalculation',
|
||||||
'firefly-iii:migrate-preferences',
|
'firefly-iii:migrate-preferences',
|
||||||
'firefly-iii:correct-balance-amounts',
|
'firefly-iii:correct-account-balance',
|
||||||
];
|
];
|
||||||
foreach ($commands as $command) {
|
foreach ($commands as $command) {
|
||||||
$this->friendlyLine(sprintf('Now executing command "%s"', $command));
|
$this->friendlyLine(sprintf('Now executing command "%s"', $command));
|
||||||
|
@@ -93,7 +93,7 @@ class DebugController extends Controller
|
|||||||
Artisan::call('view:clear');
|
Artisan::call('view:clear');
|
||||||
|
|
||||||
// also do some recalculations.
|
// also do some recalculations.
|
||||||
Artisan::call('firefly-iii:correct-balance-amounts');
|
Artisan::call('firefly-iii:correct-account-balance');
|
||||||
Artisan::call('firefly-iii:trigger-credit-recalculation');
|
Artisan::call('firefly-iii:trigger-credit-recalculation');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user