testing pagination for wallet journals

This commit is contained in:
2018-12-20 20:42:46 -06:00
parent c652c11357
commit 1a62227a3e

View File

@@ -53,6 +53,7 @@ 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 {
@@ -88,6 +89,8 @@ class FinanceHelper {
$currentPage++;
//Continue looping through the do while loop until the current page is greater than or equal to the total pages.
} while ($currentPage < $totalPages);
return $currentPage;
}
/**