diff --git a/app/Console/Commands/corpJournal.php b/app/Console/Commands/corpJournal.php index c5d078df6..e4e162544 100644 --- a/app/Console/Commands/corpJournal.php +++ b/app/Console/Commands/corpJournal.php @@ -64,8 +64,10 @@ class CorpJournal extends Command //Get the corps with structures logged in the database $corps = DB::table('CorpStructures')->select('corporation_id')->groupBy('corporation_id')->get(); foreach($corps as $corp) { + $this->line('Retrieving Corporation Journals for ' . $corp->corporation_id); $charId = DB::table('CorpStructures')->select('character_id')->where(['corporation_id' => $corp->corporation_id])->first(); - $this->GetJournal($charId->character_id); + $lastPage = $this->GetJournal($charId->character_id); + $this->line('Last Page recorded was ' . $lastPage); $this->line('Received Corporation Journals for ' . $corp->corporation_id); } diff --git a/app/Library/FinanceHelper.php b/app/Library/FinanceHelper.php index e60fcb90d..a70c53f31 100644 --- a/app/Library/FinanceHelper.php +++ b/app/Library/FinanceHelper.php @@ -53,7 +53,6 @@ class FinanceHelper { //If more than one page is found, decode the first set of wallet entries, then call for the next pages do { - $this->line($currentPage); //Call the first page of the wallet journal, as we are always going to get at least one page. //If we have more pages, then we will continue through the while loop. try {