testing pagination for wallet journals
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user