Fix pagination.

This commit is contained in:
James Cole
2020-12-11 05:17:32 +01:00
parent ee6bd0a0fa
commit be33f6c987
15 changed files with 349 additions and 33 deletions

View File

@@ -125,6 +125,7 @@ class ShowController extends Controller
->setPage($page)->withAccountInformation()->withCategoryInformation()
->setRange($start, $end);
$groups = $collector->getPaginatedGroups();
$groups->setPath(route('accounts.show', [$account->id, $start->format('Y-m-d'), $end->format('Y-m-d')]));
$showAll = false;
$balance = app('steam')->balance($account, $end);