mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* WIP * WIP * WIP * WIP * WIP * WIP * WIP * format * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * fix conflict * fix conflict * chore: run rubocop * fix test * update PWA logo * fix tests * chore: lint * fix test * Refactor: Remove duplicate data attribute in activity partial and add chat form rendering in chats index --------- Co-authored-by: Josh Pigford <josh@joshpigford.com>
19 lines
807 B
Text
19 lines
807 B
Text
<%# locals: (totals:) %>
|
|
<div class="grid grid-cols-1 md:grid-cols-3 bg-container rounded-xl shadow-border-xs md:divide-x divide-y md:divide-y-0 divide-alpha-black-100">
|
|
<div class="p-4 space-y-2">
|
|
<p class="text-sm text-secondary">Total transactions</p>
|
|
<p class="text-primary font-medium text-xl" id="total-transactions"><%= totals.transactions_count.round(0) %></p>
|
|
</div>
|
|
<div class="p-4 space-y-2">
|
|
<p class="text-sm text-secondary">Income</p>
|
|
<p class="text-primary font-medium text-xl" id="total-income">
|
|
<%= totals.income_money.format %>
|
|
</p>
|
|
</div>
|
|
<div class="p-4 space-y-2">
|
|
<p class="text-sm text-secondary">Expenses</p>
|
|
<p class="text-primary font-medium text-xl" id="total-expense">
|
|
<%= totals.expense_money.format %>
|
|
</p>
|
|
</div>
|
|
</div>
|