mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-30 10:47:06 -06:00
Fix #2619
This commit is contained in:
parent
3c8935c0a8
commit
dd87b1472e
@ -95,6 +95,7 @@ class NoCategoryController extends Controller
|
|||||||
$collector = app(GroupCollectorInterface::class);
|
$collector = app(GroupCollectorInterface::class);
|
||||||
$collector->setRange($start, $end)
|
$collector->setRange($start, $end)
|
||||||
->setLimit($pageSize)->setPage($page)->withoutCategory()
|
->setLimit($pageSize)->setPage($page)->withoutCategory()
|
||||||
|
->withAccountInformation()->withBudgetInformation()
|
||||||
->setTypes([TransactionType::WITHDRAWAL, TransactionType::DEPOSIT, TransactionType::TRANSFER]);
|
->setTypes([TransactionType::WITHDRAWAL, TransactionType::DEPOSIT, TransactionType::TRANSFER]);
|
||||||
$groups = $collector->getPaginatedGroups();
|
$groups = $collector->getPaginatedGroups();
|
||||||
$groups->setPath(route('categories.no-category'));
|
$groups->setPath(route('categories.no-category'));
|
||||||
@ -129,6 +130,7 @@ class NoCategoryController extends Controller
|
|||||||
/** @var GroupCollectorInterface $collector */
|
/** @var GroupCollectorInterface $collector */
|
||||||
$collector = app(GroupCollectorInterface::class);
|
$collector = app(GroupCollectorInterface::class);
|
||||||
$collector->setRange($start, $end)->setLimit($pageSize)->setPage($page)->withoutCategory()
|
$collector->setRange($start, $end)->setLimit($pageSize)->setPage($page)->withoutCategory()
|
||||||
|
->withAccountInformation()->withBudgetInformation()
|
||||||
->setTypes([TransactionType::WITHDRAWAL, TransactionType::DEPOSIT, TransactionType::TRANSFER]);
|
->setTypes([TransactionType::WITHDRAWAL, TransactionType::DEPOSIT, TransactionType::TRANSFER]);
|
||||||
$groups = $collector->getPaginatedGroups();
|
$groups = $collector->getPaginatedGroups();
|
||||||
$groups->setPath(route('categories.no-category.all'));
|
$groups->setPath(route('categories.no-category.all'));
|
||||||
|
@ -213,5 +213,12 @@ TODO: hide and show columns
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
{% if showCategory or showBudget %}
|
||||||
|
<td colspan="9" class="no-margin-pagination">{{ groups.render|raw }}</td>
|
||||||
|
{% else %}
|
||||||
|
<td colspan="8" class="no-margin-pagination">{{ groups.render|raw }}</td>
|
||||||
|
{% endif %}
|
||||||
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user