Skip to content

Firefly III: a personal finances manager

Expand views.

James Colec276268a9359
diff --git a/app/Http/Controllers/Report/BudgetController.php b/app/Http/Controllers/Report/BudgetController.php
index b766250253..5296011487 100644
--- a/app/Http/Controllers/Report/BudgetController.php
+++ b/app/Http/Controllers/Report/BudgetController.php
@@ -354,6 +354,7 @@ final class BudgetController extends Controller
public function topExpenses(Collection $accounts, Collection $budgets, Carbon $start, Carbon $end)
{
$spent = $this->opsRepository->listExpenses($start, $end, $accounts, $budgets);
+ $incomeTopLength = 0;
$result = [];
foreach ($spent as $currency) {
foreach ($currency['budgets'] as $budget) {
@@ -375,6 +376,7 @@ final class BudgetController extends Controller
'budget_name' => $budget['name'],
];
}
+ $incomeTopLength++;
}
}
// sort by amount_float
@@ -383,7 +385,7 @@ final class BudgetController extends Controller
array_multisort($amounts, SORT_ASC, $result);
try {
- $result = view('reports.budget.partials.top-expenses', ['result' => $result])->render();
+ $result = view('reports.budget.partials.top-expenses', ['result' => $result, 'incomeTopLength'=>$incomeTopLength])->render();
} catch (Throwable $e) {
Log::error(sprintf('Could not render reports.partials.budget-period: %s', $e->getMessage()));
$result = sprintf('Could not render view: %s', $e->getMessage());
diff --git a/app/View/Components/Report/Partial/JournalsAudit.php b/app/View/Components/Report/Partial/JournalsAudit.php
new file mode 100644
index 0000000000..668e57e8cd
--- /dev/null
+++ b/app/View/Components/Report/Partial/JournalsAudit.php
@@ -0,0 +1,32 @@
+<?php
+
+namespace FireflyIII\View\Components\Report\Partial;
+
+use Closure;
+use FireflyIII\Models\Account;
+use Illuminate\Contracts\View\View;
+use Illuminate\View\Component;
+
+class JournalsAudit extends Component
+{
+ public array $journals;
+ public array $auditData;
+ public Account $account;
+ /**
+ * Create a new component instance.
+ */
+ public function __construct(array $journals,array $auditData, Account $account)
+ {
+ $this->journals = $journals;
+ $this->auditData = $auditData;
+ $this->account = $account;
+ }
+
+ /**
+ * Get the view / contents that represent the component.
+ */
+ public function render(): View|Closure|string
+ {
+ return view('components.report.partial.journals-audit');
+ }
+}
diff --git a/public/v1/js/ff/reports/audit/all.js b/public/v1/js/ff/reports/audit/all.js
index e52c7a4941..d9d2865611 100644
--- a/public/v1/js/ff/reports/audit/all.js
+++ b/public/v1/js/ff/reports/audit/all.js
@@ -48,6 +48,7 @@ $(function () {
function clickColumnOption() {
"use strict";
+ console.log('clickColumnOption');
var newArr = readCheckboxes();
showOnlyColumns(newArr);
storeCheckboxes(newArr);
diff --git a/resources/views/accounts/reconcile/transactions.blade.php b/resources/views/accounts/reconcile/transactions.blade.php
index 40f543c2e3..4187f76b73 100644
--- a/resources/views/accounts/reconcile/transactions.blade.php
+++ b/resources/views/accounts/reconcile/transactions.blade.php
@@ -3,7 +3,7 @@
<tr class="ignore">
<th class="hidden-xs" colspan="2">&nbsp;</th>
<th>{{ trans('list.description') }}</th>
- <th class="text-right">{{ trans('list.amount') }}</th>
+ <th class="text-end">{{ trans('list.amount') }}</th>
<th class="hidden-xs hidden-sm hidden-md">{{ trans('list.reconcile') }}</th>
<th class="hidden-xs hidden-sm">{{ trans('list.date') }}</th>
<th class="hidden-xs hidden-sm hidden-md">{{ trans('list.from') }}</th>
@@ -87,7 +87,7 @@
{{ $journal['description'] }}</a>
</td>
- <td class="text-right">
+ <td class="text-end">
<span class="mr-1">
{!! format_amount_by_symbol($journal['amount'], $journal['currency_symbol'], $journal['currency_decimal_places']) !!}
@if(null !== $journal['foreign_amount'])
diff --git a/resources/views/components/lists/accounts.blade.php b/resources/views/components/lists/accounts.blade.php
index e53954e7a9..8c455a6657 100644
--- a/resources/views/components/lists/accounts.blade.php
+++ b/resources/views/components/lists/accounts.blade.php
@@ -17,10 +17,10 @@
@endif
<th class="hidden-sm hidden-xs">{{ trans('form.account_number') }}</th>
@if('liabilities' !== $objectType)
- <th class="text-right">{{ trans('list.currentBalance') }}</th>
+ <th class="text-end">{{ trans('list.currentBalance') }}</th>
@endif
@if('liabilities' === $objectType)
- <th class="text-right">
+ <th class="text-end">
{{ trans('firefly.left_in_debt') }}
</th>
@endif
@@ -65,7 +65,7 @@
@endif
<td class="hidden-sm hidden-xs">{{ $account->iban }} @if('' === $account->iban) {{ account_get_meta_field($account, 'account_number') }}@endif</td>
@if('liabilities' !== $objectType)
- <td class="text-right">
+ <td class="text-end">
<span class="mr-2">
@foreach($account->endBalances as $key => $balance)
<span title="{{ $key }}">
@@ -86,7 +86,7 @@
</td>
@endif
@if('liabilities' === $objectType)
- <td class="text-right">
+ <td class="text-end">
@if('' !== $account->current_debt)
<span class="text-info money-transfer">
{!! format_amount_by_symbol($account->current_debt, $account->currency->symbol, $account->currency->decimal_places, false) !!}
diff --git a/resources/views/components/lists/periods.blade.php b/resources/views/components/lists/periods.blade.php
index 40a945ea71..2957f1c6a6 100644
--- a/resources/views/components/lists/periods.blade.php
+++ b/resources/views/components/lists/periods.blade.php
@@ -9,7 +9,7 @@
@if($period['total_transactions'] > 0)
<tr>
<td class="third">{{ __('firefly.transactions') }}</td>
- <td class="text-right">{{ $period['total_transactions'] }}</td>
+ <td class="text-end">{{ $period['total_transactions'] }}</td>
</tr>
@endif
@if(array_key_exists('spent', $period))
@@ -17,7 +17,7 @@
@if(is_array($spent) && $spent['amount'] !== 0)
<tr>
<td class="third">{{ __('firefly.spent') }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="Count: {{ $spent['count'] }}">
{!! format_amount_by_symbol($spent['amount'], $spent['currency_symbol'], $spent['currency_decimal_places']) !!}
</span>
@@ -31,7 +31,7 @@
@if(is_array($entry) && $entry['amount'] !== 0)
<tr>
<td class="third">{{ __('firefly.earned') }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="Count: {{ $entry['count'] }}">
@if($entry['amount'] < 0)
{!! format_amount_by_symbol($entry['amount']*-1, $entry['currency_symbol'], $entry['currency_decimal_places']) !!}
@@ -48,7 +48,7 @@
@if(is_array($entry) && $entry['amount'] !== 0)
<tr>
<td class="third">{{ __('firefly.transferred') }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="Count: {{ $entry['count'] }}">
{!! format_amount_by_symbol($entry['amount']*-1, $entry['currency_symbol'], $entry['currency_decimal_places']) !!}
</span>
@@ -61,7 +61,7 @@
@if(is_array($entry) && $entry['amount'] !== 0)
<tr>
<td class="third">{{ __('firefly.transferred_away') }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="Count: {{ $entry['count'] }}">
@if($entry['amount'] < 0)
{!! format_amount_by_symbol($entry['amount'], $entry['currency_symbol'], $entry['currency_decimal_places']) !!}
@@ -78,7 +78,7 @@
@if($entry['amount'] !== 0)
<tr>
<td class="third">{{ __('firefly.transferred_in') }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="Count: {{ $entry['count'] }}">
@if($entry['amount'] < 0)
{!! format_amount_by_symbol($entry['amount']*-1, $entry['currency_symbol'], $entry['currency_decimal_places']) !!}
diff --git a/resources/views/components/lists/piggy-bank-events.blade.php b/resources/views/components/lists/piggy-bank-events.blade.php
index 053bbd02b0..2f98206ca0 100644
--- a/resources/views/components/lists/piggy-bank-events.blade.php
+++ b/resources/views/components/lists/piggy-bank-events.blade.php
@@ -21,7 +21,7 @@
@endif
</td>
- <td class="text-right">
+ <td class="text-end">
@if($event->amount < 0)
<span class="text-danger money-negative">{{ trans('firefly.removed_amount', ['amount' => format_amount_by_symbol($event->amount,$event->piggyBank->transactionCurrency->symbol, $event->piggyBank->transactionCurrency->decimal_places, false)]) }}</span>
@else
diff --git a/resources/views/components/lists/subscriptions.blade.php b/resources/views/components/lists/subscriptions.blade.php
index 74138ad337..65080ea62c 100644
--- a/resources/views/components/lists/subscriptions.blade.php
+++ b/resources/views/components/lists/subscriptions.blade.php
@@ -8,7 +8,7 @@
<th class="hidden-sm hidden-xs">&nbsp;</th>
<th>{{ __('list.name') }}</th>
<th class="hidden-sm hidden-md hidden-xs">{{ __('list.linked_to_rules') }}</th>
- <th class="text-right">{{ trans('list.matchingAmount') }}</th>
+ <th class="text-end">{{ trans('list.matchingAmount') }}</th>
<th class="hidden-sm hidden-xs">{{ trans('list.paid_current_period') }}</th>
<th class="hidden-sm hidden-xs">{{ trans('list.next_expected_match') }}</th>
<th class="hidden-sm hidden-xs">{{ trans('list.repeat_freq') }}</th>
@@ -53,7 +53,7 @@
</ul>
@endif
</td>
- <td class="text-right">
+ <td class="text-end">
<span class="mr-2" title="{{ e(format_amount_by_symbol($entry['amount_min'], $entry['currency_symbol'], $entry['currency_decimal_places'], false)) }} -- {{ e(format_amount_by_symbol($entry['amount_max'], $entry['currency_symbol'], $entry['currency_decimal_places'], false)) }}">
~ {!! format_amount_by_symbol(($entry['amount_max'] + $entry['amount_min'])/2, $entry['currency_symbol'], $entry['currency_decimal_places']) !!}
@@ -161,10 +161,10 @@
@if('0' !== $sum['avg'])
<tr>
<td class="hidden-sm hidden-xs" colspan="2">&nbsp;</td> <!-- handle -->
- <td colspan="2" class="text-right"> <!-- title -->
+ <td colspan="2" class="text-end"> <!-- title -->
<small>{{ __('firefly.sum') }} ({{ $sum['currency_name'] }}) ({{ __('firefly.active_exp_bills_only') }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{!! format_amount_by_symbol($sum['avg'], $sum['currency_symbol'], $sum['currency_decimal_places']) !!}
</td>
<td class="hidden-sm hidden-xs" colspan="3">&nbsp;</td> <!-- handle -->
@@ -173,10 +173,10 @@
@if('0' !== $sum['total_left_to_pay'])
<tr>
<td class="hidden-sm hidden-xs" colspan="2">&nbsp;</td> <!-- handle -->
- <td colspan="2" class="text-right"> <!-- title -->
+ <td colspan="2" class="text-end"> <!-- title -->
<small>{{ __('firefly.sum') }} ({{ $sum['currency_name'] }}) ({{ __('firefly.left_to_pay_active_bills') }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{!! format_amount_by_symbol($sum['total_left_to_pay'], $sum['currency_symbol'], $sum['currency_decimal_places']) !!}
</td>
<td class="hidden-sm hidden-xs" colspan="3">&nbsp;</td> <!-- handle -->
@@ -185,11 +185,11 @@
@if('0' !== $sum['per_period'])
<tr>
<td class="hidden-sm hidden-xs" colspan="2">&nbsp;</td> <!-- handle -->
- <td colspan="2" class="text-right"> <!-- title -->
+ <td colspan="2" class="text-end"> <!-- title -->
<small>{{ __('firefly.per_period_sum_' . $sum['period']) }} ({{ $sum['currency_name'] }})
({{ __('firefly.active_bills_only') }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{!! format_amount_by_symbol($sum['per_period'], $sum['currency_symbol'], $sum['currency_decimal_places']) !!}
</td>
<td class="hidden-sm hidden-xs" colspan="3">&nbsp;</td> <!-- handle -->
@@ -211,21 +211,21 @@
@foreach($totals as $sum)
@if('0' !== $sum['avg'])
<tr>
- <td class="text-right"> <!-- title -->
+ <td class="text-end"> <!-- title -->
<small>{{ __('firefly.sum') }} ({{ $sum['currency_name'] }}) ({{ __('firefly.active_exp_bills_only_total') }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{!! format_amount_by_symbol($sum['avg'], $sum['currency_symbol'], $sum['currency_decimal_places']) !!}
</td>
</tr>
@endif
@if('0' !== $sum['per_period'])
<tr>
- <td class="text-right"> <!-- title -->
+ <td class="text-end"> <!-- title -->
<small>{{ __('firefly.per_period_sum_' . $sum['period']) }} ({{ $sum['currency_name'] }})
({{ __('firefly.active_bills_only_total') }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{!! format_amount_by_symbol($sum['per_period'], $sum['currency_symbol'], $sum['currency_decimal_places']) !!}
</td>
</tr>
diff --git a/resources/views/components/report/partial/journals-audit.blade.php b/resources/views/components/report/partial/journals-audit.blade.php
new file mode 100644
index 0000000000..a1de513c25
--- /dev/null
+++ b/resources/views/components/report/partial/journals-audit.blade.php
@@ -0,0 +1,169 @@
+<table class="table table-hover table-sm table-responsive ">
+ <thead>
+ <tr class="ignore">
+ <th class="hide-buttons">&nbsp;</th>
+ <th class="hide-icon">&nbsp;</th>
+
+ <th class="hide-description">{{ trans('list.description') }}</th>
+ <th class="text-right hide-balance_before">{{ trans('list.balance_before') }}</th>
+ <th class="text-right hide-amount">{{ trans('list.amount') }}</th>
+ <th class="text-right hide-balance_after">{{ trans('list.balance_after') }}</th>
+
+ <th class="hide-date">{{ trans('list.date') }}</th>
+ {{-- new optional fields (3x) --}}
+ <th class="hide-from">{{ trans('list.from') }}</th>
+ <th class="hide-to">{{ trans('list.to') }}</th>
+
+ <th class="hide-budget"><span class="bi bi-pie-chart" title="{{ trans('list.budget') }}"></span></th>
+ <th class="hide-category"><span class="bi bi-bookmark" title="{{ trans('list.category') }}"></span></th>
+ <th class="hide-bill">{{ trans('list.bill') }}</th>
+
+ {{-- more optional fields (2x) --}}
+ <th class="hide-create_date">{{ trans('list.create_date') }}</th>
+ <th class="hide-update_date">{{ trans('list.update_date') }}</th>
+
+ <th class="hide-notes">{{ trans('list.notes') }}</th>
+
+ {{-- even more optional fields --}}
+ <th class="hide-interest_date">{{ trans('list.interest_date') }}</th>
+ <th class="hide-book_date">{{ trans('list.book_date') }}</th>
+ <th class="hide-process_date">{{ trans('list.process_date') }}</th>
+ <th class="hide-due_date">{{ trans('list.due_date') }}</th>
+ <th class="hide-payment_date">{{ trans('list.payment_date') }}</th>
+ <th class="hide-invoice_date">{{ trans('list.invoice_date') }}</th>
+
+ </tr>
+ </thead>
+ <tbody>
+ @foreach($journals as $journal)
+ <tr data-date="{{ $journal['date']->format('Y-m-d') }}" data-id="{{ $journal['transaction_journal_id'] }}">
+
+ <td class="hide-buttons">
+ <div class="btn-group btn-group-sm">
+ <a href="{{ route('transactions.edit',$journal['transaction_group_id']) }}" class="btn btn-xs btn-outline-secondary"><span class="bi bi-pencil"></span></a>
+ <a href="{{ route('transactions.delete',$journal['transaction_group_id']) }}" class="btn btn-xs btn-danger"><span class="bi bi-trash"></span></a>
+ </div>
+ </td>
+
+ <td class="hide-icon">
+ <x-elements.transaction-type-icon :type="$journal['transaction_type_type']" />
+ </td>
+
+ <td class="hide-description">
+ <a href="{{ route('transactions.show',$journal['transaction_group_id']) }}">
+ @if(strlen($journal['group_title']) > 0)
+ {{ $journal['group_title'] }} ({{ $journal['description'] }})
+ @else
+ {{ $journal['description'] }}
+ @endif
+ </a>
+ </td>
+
+ <td class="text-right hide-balance_before">
+ {!! format_amount_by_symbol($journal['balance_before'], $auditData[$account->id]['currency']->symbol, $auditData[$account->id]['currency']->decimal_places) !!}
+ </td>
+ <td class="text-right hide-amount">
+
+ @if($auditData[$account->id]['currency']->id == $journal['currency_id'])
+ @if($account->id == $journal['destination_account_id'] and $journal['transaction_type_type'] == 'Opening balance')
+ {!! format_amount_by_symbol($journal['amount']*-1, $journal['currency_symbol'], $journal['currency_decimal_places']) !!}
+ @elseif($account->id == $journal['destination_account_id'] and $journal['transaction_type_type'] == 'Deposit')
+ {!! format_amount_by_symbol($journal['amount']*-1, $journal['currency_symbol'], $journal['currency_decimal_places']) !!}
+ @elseif($account->id == $journal['destination_account_id'] and $journal['transaction_type_type'] == 'Transfer')
+ {!! format_amount_by_symbol($journal['amount']*-1, $journal['currency_symbol'], $journal['currency_decimal_places']) !!}
+ @else
+ {!! format_amount_by_symbol($journal['amount'], $journal['currency_symbol'], $journal['currency_decimal_places']) !!}
+ @endif
+ @endif
+
+ @if($auditData[$account->id]['currency']->id == $journal['foreign_currency_id'])
+ @if($account->id == $journal['destination_account_id'] and $journal['transaction_type_type'] == 'Opening balance')
+ {!! format_amount_by_symbol($journal['foreign_amount']*-1, $journal['foreign_currency_symbol'], $journal['foreign_currency_decimal_places']) !!}
+ @elseif($account->id == $journal['destination_account_id'] and $journal['transaction_type_type'] == 'Deposit')
+ {!! format_amount_by_symbol($journal['foreign_amount']*-1, $journal['foreign_currency_symbol'], $journal['foreign_currency_decimal_places']) !!}
+ @elseif($account->id == $journal['destination_account_id'] and $journal['transaction_type_type'] == 'Transfer')
+ {!! format_amount_by_symbol($journal['foreign_amount']*-1, $journal['foreign_currency_symbol'], $journal['foreign_currency_decimal_places']) !!}
+ @else
+ {!! format_amount_by_symbol($journal['foreign_amount'], $journal['foreign_currency_symbol'], $journal['foreign_currency_decimal_places']) !!}
+ @endif
+ @endif
+ </td>
+
+ <td class="text-right hide-balance_after">
+ {!! format_amount_by_symbol($journal['balance_after'], $auditData[$account->id]['currency']->symbol, $auditData[$account->id]['currency']->decimal_places) !!}
+ </td>
+
+ <td class="hide-date">{{ $journal['date']->isoFormat($monthAndDayFormat) }}</td>
+
+ <td class="hide-from">
+ <a href="{{ route('accounts.show', [$journal['source_account_id']]) }}" title="{{ $journal['source_account_iban'] ?? $journal['source_account_name'] }}">{{ $journal['source_account_name'] }}</a>
+ </td>
+
+ <td class="hide-to">
+ <a href="{{ route('accounts.show', [$journal['destination_account_id']]) }}" title="{{ $journal['destination_account_iban'] ??$journal['destination_account_name'] }}">{{ $journal['destination_account_name'] }}</a>
+ </td>
+ <td class="hide-budget">
+ @if(null !== $journal['budget_id'])
+ <a href="{{ route('budgets.show', [$journal['budget_id']]) }}" title="{{ $journal['budget_name'] }}">{{ $journal['budget_name'] }}</a>
+ @endif
+ </td>
+ <td class="hide-category">
+ @if(null !== $journal['category_id'])
+ <a href="{{ route('categories.show', [$journal['category_id']]) }}" title="{{ $journal['category_name'] }}">{{ $journal['category_name'] }}</a>
+ @endif
+ </td>
+ <td class="hide-bill">
+ @if(null !== $journal['bill_id'])
+ <a href="{{ route('subscriptions.show', [$journal['bill_id']]) }}" title="{{ $journal['bill_name'] }}">{{ $journal['bill_name'] }}</a>
+ @endif
+ </td>
+
+ <!-- new optional fields (2x) -->
+ <td class="hide-create_date">
+ {{ $journal['created_at']->isoFormat($dateTimeFormat) }}
+ </td>
+
+ <td class="hide-update_date">
+ {{ $journal['updated_at']->isoFormat($dateTimeFormat) }}
+ </td>
+ <td class="hide-notes">
+ {{ parse_markdown($journal['notes'] ?? '') }}
+ </td>
+
+ <!-- more new dates -->
+ <td class="hide-interest_date">
+ @if(null !== $journal['interest_date'])
+ {{ $journal['interest_date']->isoFormat($monthAndDayFormat) }}
+ @endif
+ </td>
+ <td class="hide-book_date">
+ @if(null !== $journal['book_date'])
+ {{ $journal['book_date']->isoFormat($monthAndDayFormat) }}
+ @endif
+ </td>
+ <td class="hide-process_date">
+ @if(null !== $journal['process_date'])
+ {{ $journal['process_date']->isoFormat($monthAndDayFormat) }}
+ @endif
+ </td>
+ <td class="hide-due_date">
+ @if(null !== $journal['due_date'])
+ {{ $journal['due_date']->isoFormat($monthAndDayFormat) }}
+ @endif
+ </td>
+ <td class="hide-payment_date">
+ @if(null !== $journal['payment_date'])
+ {{ $journal['payment_date']->isoFormat($monthAndDayFormat) }}
+ @endif
+ </td>
+ <td class="hide-invoice_date">
+ @if(null !== $journal['invoice_date'])
+ {{ $journal['invoice_date']->isoFormat($monthAndDayFormat) }}
+ @endif
+ </td>
+ </tr>
+
+ @endforeach
+
+ </tbody>
+</table>
diff --git a/resources/views/layout/v3/session.blade.php b/resources/views/layout/v3/session.blade.php
index 5220680f95..e02b3e97e4 100644
--- a/resources/views/layout/v3/session.blade.php
+++ b/resources/views/layout/v3/session.blade.php
@@ -25,7 +25,6 @@
@endif
Firefly III
</title>
-
<!--begin::Theme Init (prevents flash of incorrect theme on load, #6043)-->
<script nonce="{{ $JS_NONCE }}">
(() => {
@@ -69,6 +68,7 @@
<x-layout.fav-icons/>
<!--end::Accessibility Features-->
+
</head>
<!--end::Head-->
<!--begin::Body-->
@@ -80,6 +80,8 @@
document.body.classList.add('sidebar-collapse');
}
</script>
+<!-- tussen -->
+
<!--begin::App Wrapper-->
<div class="app-wrapper">
<!--begin::Header-->
@@ -134,7 +136,6 @@
</a>
</li>
<!-- end anonymous -->
-
<!-- help button -->
<li class="nav-item hidden-sm hidden-xs">
<a href="#" class="nav-link" id="help" data-extra="{{ $objectType ?? '' }}"
@@ -144,6 +145,8 @@
</li>
<!-- end help button -->
+ <!-- hierboven -->
+
<!--begin::Color Mode Toggle (#6010)-->
<li class="nav-item dropdown">
@@ -232,6 +235,9 @@
</a>
<!--end::Brand Link-->
</div>
+
+ <!-- einde tussen -->
+
<!--end::Sidebar Brand-->
<!--begin::Sidebar Wrapper-->
<div class="sidebar-wrapper">
@@ -271,15 +277,19 @@
{{ $pageTitle ?? $title ?? '(no title)' }}
@if($subTitle ?? false)
- <small class="text-xs text-muted">@if(isset($subTitleIcon))
- <em class="bi {{ $subTitleIcon }}"></em>
- @endif{{$subTitle}}</small>
+ <small class="text-xs text-muted">@if(isset($subTitleIcon))
+ <em class="bi {{ $subTitleIcon }}"></em>
+ @endif{{$subTitle}}</small>
@endif
</h3>
</div>
<div class="col-sm-6">
- {{ Breadcrumbs::render() }}
+ @sectionMissing('breadcrumbs')
+ {{ Breadcrumbs::render() }}
+ @endif
+ @yield('breadcrumbs')
+
</div>
</div>
<!--end::Row-->
@@ -292,13 +302,13 @@
<!--begin::Container-->
<div class="container-fluid">
@if($IS_DEMO_SITE)
- <div class="row no-print">
- <div class="col-lg-12">
- <div class="alert alert-info" role="alert">
- @includeFirst(['demo.' . Route::getCurrentRoute()->getName(), 'demo.no-demo-text'])
+ <div class="row no-print">
+ <div class="col-lg-12">
+ <div class="alert alert-info" role="alert">
+ @includeFirst(['demo.' . Route::getCurrentRoute()->getName(), 'demo.no-demo-text'])
+ </div>
</div>
</div>
- </div>
@endif
<x-layout.flash
:invalid-monetary-locale="$invalidMonetaryLocale ?? false"
@@ -307,7 +317,7 @@
/>
@yield('content')
- </div>
+ </div>
</div>
</main>
<footer class="app-footer">
diff --git a/resources/views/list/accounts.blade.php b/resources/views/list/accounts.blade.php
index e215ae09d5..1b2946bf6e 100644
--- a/resources/views/list/accounts.blade.php
+++ b/resources/views/list/accounts.blade.php
@@ -16,10 +16,10 @@
@endif
<th class="hidden-sm hidden-xs">{{ trans('form.account_number') }}</th>
{% if objectType != 'liabilities' %}
- <th class="text-right">{{ trans('list.currentBalance') }}</th>
+ <th class="text-end">{{ trans('list.currentBalance') }}</th>
@endif
{% if objectType == 'liabilities' %}
- <th class="text-right">
+ <th class="text-end">
{{ trans('firefly.left_in_debt') }}
</th>
@endif
@@ -64,7 +64,7 @@
@endif
<td class="hidden-sm hidden-xs">{{ account.iban }}{% if account.iban == '' %}{{ accountGetMetaField(account, 'account_number') }}@endif</td>
{% if objectType != 'liabilities' %}
- <td class="text-right">
+ <td class="text-end">
<span class="mr-2">
{% for key, balance in account.endBalances %}
<span title="{{ key }}">
@@ -85,7 +85,7 @@
</td>
@endif
{% if objectType == 'liabilities' %}
- <td class="text-right">
+ <td class="text-end">
{% if '-' != account.current_debt %}
<span class="text-info money-transfer">
{{ format_amount_by_symbol(account.current_debt, account.currency.symbol, account.currency.decimal_places, false) }}
diff --git a/resources/views/list/bills.blade.php b/resources/views/list/bills.blade.php
index c10f04c61e..de45b64d8a 100644
--- a/resources/views/list/bills.blade.php
+++ b/resources/views/list/bills.blade.php
@@ -8,7 +8,7 @@
<th class="hidden-sm hidden-xs">&nbsp;</th>
<th>{{ trans('list.name') }}</th>
<th class="hidden-sm hidden-md hidden-xs">{{ trans('list.linked_to_rules') }}</th>
- <th class="text-right">{{ trans('list.matchingAmount') }}</th>
+ <th class="text-end">{{ trans('list.matchingAmount') }}</th>
<th class="hidden-sm hidden-xs">{{ trans('list.paid_current_period') }}</th>
<th class="hidden-sm hidden-xs">{{ trans('list.next_expected_match') }}</th>
<th class="hidden-sm hidden-xs">{{ trans('list.repeat_freq') }}</th>
@@ -62,7 +62,7 @@
</ul>
@endif
</td>
- <td class="text-right">
+ <td class="text-end">
<span class="mr-2" title="{{ format_amount_by_symbol(entry.amount_min, entry.currency_symbol, entry.currency_decimal_places, false)|escape }} -- {{ format_amount_by_symbol(entry.amount_max, entry.currency_symbol, entry.currency_decimal_places, false)|escape }}">
~ {{ format_amount_by_symbol((entry.amount_max + entry.amount_min)/2, entry.currency_symbol, entry.currency_decimal_places) }}
@@ -176,10 +176,10 @@
<tr>
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- handle -->
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- buttons -->
- <td colspan="2" class="text-right"> <!-- title -->
- <small>{{ 'sum'|_ }} ({{ sum.currency_name }}) ({{ 'active_exp_bills_only'|_ }})</small>
+ <td colspan="2" class="text-end"> <!-- title -->
+ <small>{{ __('firefly.sum') }} ({{ sum.currency_name }}) ({{ 'active_exp_bills_only'|_ }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{{ format_amount_by_symbol(sum.avg, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
<td>&nbsp;</td> <!-- paid in period -->
@@ -191,10 +191,10 @@
<tr>
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- handle -->
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- buttons -->
- <td colspan="2" class="text-right"> <!-- title -->
- <small>{{ 'sum'|_ }} ({{ sum.currency_name }}) ({{ 'left_to_pay_active_bills'|_ }})</small>
+ <td colspan="2" class="text-end"> <!-- title -->
+ <small>{{ __('firefly.sum') }} ({{ sum.currency_name }}) ({{ 'left_to_pay_active_bills'|_ }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{{ format_amount_by_symbol(sum.total_left_to_pay, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
<td>&nbsp;</td> <!-- paid in period -->
@@ -206,11 +206,11 @@
<tr>
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- handle -->
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- buttons -->
- <td colspan="2" class="text-right"> <!-- title -->
+ <td colspan="2" class="text-end"> <!-- title -->
<small>{{ ('per_period_sum_'~sum.period)|_ }} ({{ sum.currency_name }})
({{ 'active_bills_only'|_ }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{{ format_amount_by_symbol(sum.per_period, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
<td>&nbsp;</td> <!-- paid in period -->
@@ -232,10 +232,10 @@
<tr>
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- handle -->
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- buttons -->
- <td colspan="2" class="text-right"> <!-- title -->
- <small>{{ 'sum'|_ }} ({{ sum.currency_name }}) ({{ 'active_exp_bills_only_total'|_ }})</small>
+ <td colspan="2" class="text-end"> <!-- title -->
+ <small>{{ __('firefly.sum') }} ({{ sum.currency_name }}) ({{ 'active_exp_bills_only_total'|_ }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{{ format_amount_by_symbol(sum.avg, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
<td>&nbsp;</td> <!-- paid in period -->
@@ -247,11 +247,11 @@
<tr>
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- handle -->
<td class="hidden-sm hidden-xs">&nbsp;</td> <!-- buttons -->
- <td colspan="2" class="text-right"> <!-- title -->
+ <td colspan="2" class="text-end"> <!-- title -->
<small>{{ ('per_period_sum_'~sum.period)|_ }} ({{ sum.currency_name }})
({{ 'active_bills_only_total'|_ }})</small>
</td>
- <td class="text-right"> <!-- amount -->
+ <td class="text-end"> <!-- amount -->
{{ format_amount_by_symbol(sum.per_period, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
<td>&nbsp;</td> <!-- paid in period -->
diff --git a/resources/views/list/groups.blade.php b/resources/views/list/groups.blade.php
index 7806663f1a..0842032fea 100644
--- a/resources/views/list/groups.blade.php
+++ b/resources/views/list/groups.blade.php
@@ -32,9 +32,9 @@
<tr>
<th class="hidden-xs">&nbsp;</th>
<th>{{ trans('list.description') }}</th>
- <th class="text-right">{{ trans('list.amount') }}</th>
+ <th class="text-end">{{ trans('list.amount') }}</th>
{% if fireflyiiiconfig('use_running_balance', true) %}
- <th class="text-right">{{ trans('list.running_balance') }}</th>
+ <th class="text-end">{{ trans('list.running_balance') }}</th>
@endif
<th>{{ trans('list.date') }}</th>
<th>{{ trans('list.source_account') }}</th>
diff --git a/resources/views/list/periods.blade.php b/resources/views/list/periods.blade.php
index c2a496f6cf..b5699365e3 100644
--- a/resources/views/list/periods.blade.php
+++ b/resources/views/list/periods.blade.php
@@ -9,14 +9,14 @@
{% if period.total_transactions > 0 %}
<tr>
<td class="third">{{ __('firefly.transactions') }}</td>
- <td class="text-right">{{ period.total_transactions }}</td>
+ <td class="text-end">{{ period.total_transactions }}</td>
</tr>
@endif
{% for entry in period.spent %}
{% if entry.amount != 0 %}
<tr>
<td class="third">{{ __('firefly.spent') }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="{{ entry.count }}">
{{ format_amount_by_symbol(entry.amount, entry.currency_symbol, entry.currency_decimal_places) }}
</span>
@@ -29,7 +29,7 @@
{% if entry.amount != 0 %}
<tr>
<td class="third">{{ 'earned'|_ }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="{{ entry.count }}">
{% if entry.amount < 0 %}
{{ format_amount_by_symbol(entry.amount*-1, entry.currency_symbol, entry.currency_decimal_places) }}
@@ -46,7 +46,7 @@
{% if entry.amount != 0 %}
<tr>
<td class="third">{{ 'transferred'|_ }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="{{ entry.count }}">
{{ format_amount_by_symbol(entry.amount*-1, entry.currency_symbol, entry.currency_decimal_places) }}
</span>
@@ -59,7 +59,7 @@
{% if entry.amount != 0 %}
<tr>
<td class="third">{{ 'transferred_away'|_ }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="{{ entry.count }}">
{% if entry.amount < 0 %}
{{ format_amount_by_symbol(entry.amount, entry.currency_symbol, entry.currency_decimal_places) }}
@@ -76,7 +76,7 @@
{% if entry.amount != 0 %}
<tr>
<td class="third">{{ 'transferred_in'|_ }}</td>
- <td class="text-right">
+ <td class="text-end">
<span title="{{ entry.count }}">
{% if entry.amount < 0 %}
{{ format_amount_by_symbol(entry.amount*-1, entry.currency_symbol, entry.currency_decimal_places) }}
diff --git a/resources/views/list/piggy-bank-events.blade.php b/resources/views/list/piggy-bank-events.blade.php
index cbcb94a971..6bdce6f35f 100644
--- a/resources/views/list/piggy-bank-events.blade.php
+++ b/resources/views/list/piggy-bank-events.blade.php
@@ -22,7 +22,7 @@
@endif
</td>
- <td class="text-right">
+ <td class="text-end">
{% if event.amount < 0 %}
<span class="text-danger money-negative">{{ trans('firefly.removed_amount', {amount: format_amount_by_symbol(event.amount,event.piggyBank.transactionCurrency.symbol, event.piggyBank.transactionCurrency.decimal_places, false)})|raw }}</span>
@else
diff --git a/resources/views/list/piggy-banks.blade.php b/resources/views/list/piggy-banks.blade.php
index 0b6604eff6..10aa30a2b9 100644
--- a/resources/views/list/piggy-banks.blade.php
+++ b/resources/views/list/piggy-banks.blade.php
@@ -3,7 +3,7 @@
<tr>
<th colspan="2">&nbsp;</th>
<th>{{ 'piggy_bank'|_ }}</th>
- <th class="text-right">{{ 'saved_so_far'|_ }}</th>
+ <th class="text-end">{{ 'saved_so_far'|_ }}</th>
<th colspan="3" class="hidden-sm hidden-xs">&nbsp;</th>
<th class="text-right hidden-sm hidden-xs">{{ 'target_amount'|_ }}</th>
<th class="text-right hidden-sm hidden-xs">{{ 'left_to_save'|_ }}</th>
@@ -46,7 +46,7 @@
@endif
</td>
<td class="text-right piggySaved">
- <span title="Saved so far" class="text-right">
+ <span title="Saved so far" class="text-end">
{{ format_amount_by_symbol(piggy.current_amount,piggy.currency_symbol,piggy.currency_decimal_places) }}
{% if convertToPrimary and piggy.currency_id != $primaryCurrency->id and null != piggy.pc_current_amount %}
({{ format_amount_by_symbol(piggy.pc_current_amount,$primaryCurrency->symbol,$primaryCurrency->decimal_places) }})
@@ -118,7 +118,7 @@
<td class="hidden-sm hidden-xs">&nbsp;</td> {{-- handle --}}
<td class="hidden-sm hidden-xs">&nbsp;</td> {{-- buttons --}}
<td>&nbsp;</td>
- <td class="text-right">
+ <td class="text-end">
{% for sum in objectGroup.sums %}
{{ format_amount_by_symbol(sum.saved, sum.currency_symbol, sum.currency_decimal_places) }}<br />
@endforeach
diff --git a/resources/views/partials/menu-sidebar.blade.php b/resources/views/partials/menu-sidebar.blade.php
index 25f5f8e57e..82d9ff0be0 100644
--- a/resources/views/partials/menu-sidebar.blade.php
+++ b/resources/views/partials/menu-sidebar.blade.php
@@ -18,7 +18,7 @@
<li class="{{ activeRoutePartial('budgets') }}" id="budget-menu">
<a href="{{ route('budgets.index') }}">
<em class="bi bi-pie-chart"></em>
- <span>{{ 'budgets'|_ }}</span>
+ <span>{{ __('firefly.budgets') }}</span>
</a>
</li>
@@ -51,7 +51,7 @@
<li class="{{ activeRoutePartialObjectType('transactions', 'withdrawal') }}">
<a href="{{ route('transactions.index', ['withdrawal']) }}">
<span class="bi bi-caret-right"></span>
- <span>{{ 'expenses'|_ }}</span>
+ <span>{{ __('firefly.expenses') }}</span>
</a>
</li>
<li class="{{ activeRoutePartialObjectType('transactions', 'deposit') }}">
@@ -114,7 +114,7 @@
<li class="{{ activeRoutePartial('accounts') }} treeview" id="account-menu">
<a href="#">
<em class="fa fa-credit-card"></em>
- <span>{{ 'accounts'|_ }}</span>
+ <span>{{ __('firefly.accounts') }}</span>
<span class="text-end-container">
<span class="fa fa-angle-left text-end"></span>
</span>
diff --git a/resources/views/piggy-banks/index.blade.php b/resources/views/piggy-banks/index.blade.php
index 5b9fff7ee4..0259211c97 100644
--- a/resources/views/piggy-banks/index.blade.php
+++ b/resources/views/piggy-banks/index.blade.php
@@ -28,7 +28,7 @@
<tr>
<th>{{ __('firefly.account') }}</th>
<th class="text-right hidden-sm hidden-xs">{{ __('firefly.balance') }}</th>
- <th class="text-right">{{ __('firefly.left_for_piggy_banks') }}</th>
+ <th class="text-end">{{ __('firefly.left_for_piggy_banks') }}</th>
<th class="text-right hidden-sm hidden-xs">{{ __('firefly.sum_of_piggy_banks') }}</th>
<th class="text-right hidden-sm hidden-xs">{{ __('firefly.saved_so_far') }}</th>
<th class="text-right hidden-sm hidden-xs">{{ __('firefly.left_to_save') }}</th>
@@ -41,7 +41,7 @@
<td class="text-right hidden-sm hidden-xs">
{!! format_amount_by_symbol($info['current_balance'],$info['currency_symbol'],$info['currency_decimal_places']) !!}
</td>
- <td class="text-right">
+ <td class="text-end">
{!! format_amount_by_symbol($info['left'],$info['currency_symbol'],$info['currency_decimal_places']) !!}
</td>
<td class="text-right hidden-sm hidden-xs">
diff --git a/resources/views/popup/list/journals.blade.php b/resources/views/popup/list/journals.blade.php
index 082b77105b..e6f093172e 100644
--- a/resources/views/popup/list/journals.blade.php
+++ b/resources/views/popup/list/journals.blade.php
@@ -140,7 +140,7 @@
</tbody>
<tfoot>
<tr>
- <td colspan="2" class="text-right"><em>{{ 'sum'|_ }}:</em></td>
+ <td colspan="2" class="text-end"><em>{{ __('firefly.sum') }}:</em></td>
<td>
{% if sum != 0 %}
{{ format_amount_by_symbol(sum, symbol, decimal_places) }}
diff --git a/resources/views/profile/index.blade.php b/resources/views/profile/index.blade.php
index 2a5cb5d387..cc3288b3d9 100644
--- a/resources/views/profile/index.blade.php
+++ b/resources/views/profile/index.blade.php
@@ -181,7 +181,7 @@
</button>
</div>
- <h4>{{ 'accounts'|_ }}</h4>
+ <h4>{{ __('firefly.accounts') }}</h4>
<p>
<em class="text-danger">{{ 'also_delete_transactions'|_ }}</em>
</p>
@@ -212,7 +212,7 @@
data-type="liabilities" class="confirm btn btn-danger btn-sm"><span
class="fa fa-ticket"></span> {{ 'delete_all_liabilities'|_ }}</button>
</div>
- <h4>{{ 'accounts'|_ }}</h4>
+ <h4>{{ __('firefly.accounts') }}</h4>
<p>
<em class="text-info">
{{ 'delete_unused_accounts'|_ }}
diff --git a/resources/views/recurring/show.blade.php b/resources/views/recurring/show.blade.php
index c32b7803e8..7e0766d9e3 100644
--- a/resources/views/recurring/show.blade.php
+++ b/resources/views/recurring/show.blade.php
@@ -33,7 +33,7 @@
</p>
@endif
- <p>{{ 'description'|_ }}: <em>{{ array.description }}</em></p>
+ <p>{{ __('firefly.description') }}: <em>{{ array.description }}</em></p>
{% if array.active == false %}
<p>
diff --git a/resources/views/reports/audit/report.blade.php b/resources/views/reports/audit/report.blade.php
index afb8ea970f..05b4012ad7 100644
--- a/resources/views/reports/audit/report.blade.php
+++ b/resources/views/reports/audit/report.blade.php
@@ -1,4 +1,8 @@
@extends('layout.v3.session')
+@section('breadcrumbs')
+ {{ Breadcrumbs::render(Route::getCurrentRoute()->getName(), $accountIds, $start, $end) }}
+
+@endsection
@section('content')
<div class="row no-print">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
@@ -8,8 +12,8 @@
</div>
<div class="card-body">
<ul class="list-inline">
- @foreach($hidable as $hide)
- <li><input
+ @foreach($hideable as $hide)
+ <li class="list-inline-item"><input
@if(in_array($hide, $defaultShow, true)) checked @endif
type="checkbox" class="fw-normal audit-option-checkbox" name="option[]" value="{{ $hide }}" id="option_{{ $hide }}"/> <label
for="option_{{ $hide }}">{{ trans('list.' . $hide) }}</label></li>
@@ -30,39 +34,39 @@
@if(!$auditData[$account->id]['exists'])
<div class="card-body">
<em>
- {{ trans('firefly.no_audit_activity',
+ {!! trans('firefly.no_audit_activity',
[
'account_name'=> e($account->name),
- 'url' => route('accounts.show',$account->id),
+ 'url' => route('accounts.show', [$account->id]),
'start'=> $start->isoFormat($monthAndDayFormat),
'end' => $end->isoFormat($monthAndDayFormat),
- ]) }}
+ ]) !!}
</em>
</div>
@else
<div class="card-body p-0">
- <p class="p-4">
- {{ trans('firefly.audit_end_balance',
+ <div class="alert alert-info m-2" role="alert">
+ {!! trans('firefly.audit_end_balance',
[
'account_name' => e($account->name),
- 'url' => route('accounts.show',$account->id),
- 'end' => $auditData[$account->id]->dayBefore,
- 'balance' => format_amount_by_account($account, $auditData[$account->id]->dayBeforeBalance['balance'])
- ]) }}
- </p>
- {% include 'reports.partials.journals-audit' with {'journals': auditData[$account->id].journals,'account':account} %}
+ 'url' => route('accounts.show', [$account->id]),
+ 'end' => $auditData[$account->id]['dayBefore'],
+ 'balance' => format_amount_by_account($account, $auditData[$account->id]['dayBeforeBalance']['balance'])
+ ]) !!}
+ </div>
+ <x-report.partial.journals-audit :audit-data="$auditData" :journals="$auditData[$account->id]['journals']" :account="$account" />
- <p class="p-4">
+ <div class="alert alert-info m-2" role="alert">
- {{ trans('firefly.audit_end_balance',
+ {!! trans('firefly.audit_end_balance',
[
'account_name' => e($account->name),
'url' => route('accounts.show',$account->id),
- 'end' => $auditData[$account->id]->end,
- 'balance' => format_amount_by_account($account, $auditData[$account->id]->endBalance)
- ]) }}
- </p>
+ 'end' => $auditData[$account->id]['end'],
+ 'balance' => format_amount_by_account($account, $auditData[$account->id]['endBalance'])
+ ]) !!}
+ </div>
</div>
@endif
</div>
diff --git a/resources/views/reports/budget/month.blade.php b/resources/views/reports/budget/month.blade.php
index a356d5f6ca..8ce8a2fa51 100644
--- a/resources/views/reports/budget/month.blade.php
+++ b/resources/views/reports/budget/month.blade.php
@@ -1,21 +1,18 @@
@extends('layout.v3.session')
-
-
- {{ Breadcrumbs.render(Route.getCurrentRoute.getName, accountIds, budgetIds, start, end) }}
+@section('breadcrumbs')
+ {{ Breadcrumbs::render(Route::getCurrentRoute()->getName(), $accountIds, $budgetIds, $start, $end) }}
@endsection
-
@section('content')
-
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'accounts'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.accounts') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountsHolder">
+ <div class="card-body p-0" id="accountsHolder">
</div>
{{-- loading indicator --}}
- <div class="overlay">
+ <div class="overlay text-center m-2">
<div class="spinner-border spinner-border-sm" role="status">
<span class="visually-hidden">Loading...</span>
</div>
@@ -23,14 +20,14 @@
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'budgets'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.budgets') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="budgetsHolder">
+ <div class="card-body p-0" id="budgetsHolder">
</div>
{{-- loading indicator --}}
- <div class="overlay">
+ <div class="overlay text-center m-2">
<div class="spinner-border spinner-border-sm" role="status">
<span class="visually-hidden">Loading...</span>
</div>
@@ -40,14 +37,14 @@
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'account_per_budget'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.account_per_budget') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountPerbudgetHolder">
+ <div class="card-body p-0" id="accountPerbudgetHolder">
</div>
{{-- loading indicator --}}
- <div class="overlay">
+ <div class="overlay text-center m-2">
<div class="spinner-border spinner-border-sm" role="status">
<span class="visually-hidden">Loading...</span>
</div>
@@ -57,9 +54,9 @@
</div>
<div class="row">
<div class="col-lg-6 col-md-6">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_budget'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_budget') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -69,9 +66,9 @@
</div>
</div>
<div class="col-lg-6 col-md-6">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_category'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_category') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -83,9 +80,9 @@
</div>
<div class="row">
<div class="col-lg-6 col-md-6">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_source_account'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_source_account') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -95,9 +92,9 @@
</div>
</div>
<div class="col-lg-6 col-md-6">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_destination_account'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_destination_account') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -108,15 +105,15 @@
</div>
</div>
- {% for budget in budgets %}
+ @foreach($budgets as $budget)
<div class="row">
<div class="col-lg-12">
- <div class="box main_budget_chart">
+ <div class="card mb-2 main_budget_chart">
<div class="card-header">
- <h3 class="card-title">{{ 'expenses'|_ }} ({{ budget.name }})</h3>
+ <h3 class="card-title">{{ __('firefly.expenses') }} ({{ $budget->name }})</h3>
</div>
<div class="card-body">
- <canvas class="main_budget_canvas" data-url="{{ route('chart.budget.main', [accountIds, budget.id, $start->format('Ymd'), $end->format('Ymd')]) }}" id="in-out-chart-{{ budget.id }}" class="wide-chart" height="400" width="100%"></canvas>
+ <canvas class="main_budget_canvas wide-chart" data-url="{{ route('chart.budget.main', [$accountIds, $budget->id, $start->format('Ymd'), $end->format('Ymd')]) }}" id="in-out-chart-{{ $budget->id }}" height="400" width="100%"></canvas>
</div>
</div>
</div>
@@ -124,14 +121,14 @@
@endforeach
<div class="row">
<div class="col-lg-6">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'average_spending_per_destination'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.average_spending_per_destination') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="avgExpensesHolder">
+ <div class="card-body p-0" id="avgExpensesHolder">
</div>
{{-- loading indicator --}}
- <div class="overlay">
+ <div class="overlay text-center m-2">
<div class="spinner-border spinner-border-sm" role="status">
<span class="visually-hidden">Loading...</span>
</div>
@@ -140,14 +137,14 @@
</div>
<div class="col-lg-6">
- <div class="card">
+ <div class="card mb-2">
<div class="card-header">
- <h3 class="card-title">{{ 'expenses'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
+ <h3 class="card-title">{{ __('firefly.expenses') }} ({{ trans('firefly.topX', ['number' => $listLength]) }})</h3>
</div>
- <div class="box-body table-responsive no-padding" id="topExpensesHolder">
+ <div class="card-body p-0" id="topExpensesHolder">
</div>
{{-- loading indicator --}}
- <div class="overlay">
+ <div class="overlay text-center m-2">
<div class="spinner-border spinner-border-sm" role="status">
<span class="visually-hidden">Loading...</span>
</div>
@@ -159,6 +156,7 @@
@endsection
@section('scripts')
+ @vite(['js/pages/generic.js'])
<script type="text/javascript" src="v1/js/lib/Chart.bundle.min.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
<script type="text/javascript" src="v1/js/ff/charts.defaults.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
<script type="text/javascript" src="v1/js/ff/charts.js?v={{ $FF_BUILD_TIME }}" nonce="{{ $JS_NONCE }}"></script>
@@ -168,20 +166,20 @@
// to report another URL:
var startDate = '{{ $start->format('Ymd') }}';
var endDate = '{{ $end->format('Ymd') }}';
- var accountIds = '{{ accountIds }}';
- var budgetIds = '{{ budgetIds }}';
+ var $accountIds = '{{ $accountIds }}';
+ var $budgetIds = '{{ $budgetIds }}';
// html block URL's:
- var accountsUrl = '{{ route('report-data.budget.accounts', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
- var budgetsUrl = '{{ route('report-data.budget.budgets', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
- var accountPerBudgetUrl = '{{ route('report-data.budget.account-per-budget', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
- var avgExpensesUrl = '{{ route('report-data.budget.avg-expenses', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
- var topExpensesUrl = '{{ route('report-data.budget.top-expenses', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var accountsUrl = '{{ route('report-data.budget.accounts', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var budgetsUrl = '{{ route('report-data.budget.budgets', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var accountPerBudgetUrl = '{{ route('report-data.budget.account-per-budget', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var avgExpensesUrl = '{{ route('report-data.budget.avg-expenses', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var topExpensesUrl = '{{ route('report-data.budget.top-expenses', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
- var budgetExpenseUrl = '{{ route('chart.budget.budget-expense', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
- var categoryExpenseUrl = '{{ route('chart.budget.category-expense', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
- var sourceExpenseUrl = '{{ route('chart.budget.source-account-expense', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
- var destinationExpenseUrl = '{{ route('chart.budget.destination-account-expense', [accountIds, budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var budgetExpenseUrl = '{{ route('chart.budget.budget-expense', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var categoryExpenseUrl = '{{ route('chart.budget.category-expense', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var sourceExpenseUrl = '{{ route('chart.budget.source-account-expense', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
+ var destinationExpenseUrl = '{{ route('chart.budget.destination-account-expense', [$accountIds, $budgetIds, $start->format('Ymd'), $end->format('Ymd')]) }}';
</script>
diff --git a/resources/views/reports/budget/partials/account-per-budget.blade.php b/resources/views/reports/budget/partials/account-per-budget.blade.php
index 0bb58f4215..4e69ba85a7 100644
--- a/resources/views/reports/budget/partials/account-per-budget.blade.php
+++ b/resources/views/reports/budget/partials/account-per-budget.blade.php
@@ -1,23 +1,23 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- {% for budget in budgets %}
- <th data-defaultsign="_19" class="text-right">{{ budget.name }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ @foreach($budgets as $budget)
+ <th data-defaultsign="_19" class="text-end">{{ $budget->name }}</th>
@endforeach
</tr>
</thead>
<tbody>
- {% for account in report %}
- {% for currency in account.currencies %}
+ @foreach($report as $account)
+ @foreach($account['currencies'] as $currency)
<tr>
- <td data-value="{{ account.name }} ({{ currency.currency_name }})">
- <a href="{{ route('accounts.show', account.id) }}" title="{{ account.iban }}">{{ account.name }} ({{ currency.currency_name }})</a>
+ <td data-value="{{ $account['name'] }} ({{ $currency['currency_name'] }})">
+ <a href="{{ route('accounts.show', [$account['id']]) }}" title="{{ $account['iban'] }}">{{ $account['name'] }} ({{ $currency['currency_name'] }})</a>
</td>
- {% for budget in budgets %}
- <td class="text-right">
- {% if currency.budgets[budget.id] %}
- {{ format_amount_by_symbol(currency.budgets[budget.id], currency.currency_symbol, currency.currency_decimal_places) }}
+ @foreach($budgets as $budget)
+ <td class="text-end">
+ @if(array_key_exists($budget->id, $currency['budgets']))
+ {!! format_amount_by_symbol($currency['budgets'][$budget->id], $currency['currency_symbol'], $currency['currency_decimal_places']) !!}
@else
&mdash;
@endif
diff --git a/resources/views/reports/budget/partials/accounts.blade.php b/resources/views/reports/budget/partials/accounts.blade.php
index d69bd3137a..78fb83aa02 100644
--- a/resources/views/reports/budget/partials/accounts.blade.php
+++ b/resources/views/reports/budget/partials/accounts.blade.php
@@ -1,30 +1,30 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
</tr>
</thead>
<tbody>
- {% for account in report %}
- {% for currency in account.currencies %}
+ @foreach($report as $account)
+ @foreach($account['currencies'] as $currency)
<tr>
- <td data-value="{{ account.name }} ({{ currency.currency_name }})">
- <a href="{{ route('accounts.show', account.id) }}" title="{{ account.iban }}">{{ account.name }} ({{ currency.currency_name }})</a>
+ <td data-value="{{ $account['name'] }} ({{ $currency['currency_name'] }})">
+ <a href="{{ route('accounts.show', $account['id']) }}" title="{{ $account['iban'] }}">{{ $account['name'] }} ({{ $currency['currency_name'] }})</a>
</td>
- <td data-value="{{ currency.sum }}" class="text-right">
- {{ format_amount_by_symbol(currency.sum, currency.currency_symbol, currency.currency_decimal_places) }}
+ <td data-value="{{ $currency['sum'] }}" class="text-end">
+ {!! format_amount_by_symbol($currency['sum'], $currency['currency_symbol'], $currency['currency_decimal_places']) !!}
</td>
</tr>
@endforeach
@endforeach
</tbody>
<tfoot>
- {% for sum in sums %}
+ @foreach($sums as $sum)
<tr>
- <td>{{ 'sum'|_ }} ({{ sum.currency_name }})</td>
- <td class="text-right">
- {{ format_amount_by_symbol(sum.sum, sum.currency_symbol, sum.currency_decimal_places) }}
+ <td>{{ __('firefly.sum') }} ({{ $sum['currency_name'] }})</td>
+ <td class="text-end">
+ {!! format_amount_by_symbol($sum['sum'], $sum['currency_symbol'], $sum['currency_decimal_places']) !!}
</td>
</tr>
@endforeach
diff --git a/resources/views/reports/budget/partials/avg-expenses.blade.php b/resources/views/reports/budget/partials/avg-expenses.blade.php
index 431e3e0741..3f17244133 100644
--- a/resources/views/reports/budget/partials/avg-expenses.blade.php
+++ b/resources/views/reports/budget/partials/avg-expenses.blade.php
@@ -1,44 +1,44 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'spent_average'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'total'|_ }}</th>
- <th data-defaultsign="_19">{{ 'transaction_count'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent_average') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.total') }}</th>
+ <th data-defaultsign="_19">{{ __('firefly.transaction_count') }}</th>
</tr>
</thead>
<tbody>
- {% for row in result %}
- {% if loop.index > listLength %}
+ @foreach($result as $row)
+ @if($loop->index > $listLength)
<tr class="overListLength">
@else
<tr>
@endif
<td data-sortable="false">
- <a href="{{ route('accounts.show', row.destination_account_id) }}">
- {{ row.destination_account_name }}
+ <a href="{{ route('accounts.show',[$row['destination_account_id']]) }}">
+ {{ $row['destination_account_name'] }}
</a>
</td>
- <td data-value="{{ row.avg }}" class="text-right">
- {{ format_amount_by_symbol(row.avg, row.currency_symbol, row.currency_decimal_places) }}
+ <td data-value="{{ $row['avg'] }}" class="text-end">
+ {!! format_amount_by_symbol($row['avg'], $row['currency_symbol'], $row['currency_decimal_places']) !!}
</td>
- <td data-value="{{ row.sum }}" class="text-right">
- {{ format_amount_by_symbol(row.sum, row.currency_symbol, row.currency_decimal_places) }}
+ <td data-value="{{ $row['sum'] }}" class="text-end">
+ {!! format_amount_by_symbol($row['sum'], $row['currency_symbol'], $row['currency_decimal_places']) !!}
</td>
- <td data-value="{{ row.transactions }}">
- {{ row.transactions }}
+ <td data-value="{{ $row['transactions'] }}">
+ {{ $row['transactions'] }}
</td>
</tr>
@endforeach
</tbody>
<tfoot>
- {% if result|length > listLength %}
+ @if(count($result) > $listLength)
<tr>
<td colspan="5" class="active">
- <a href="#" class="listLengthTrigger">{{ trans('firefly.show_full_list',{number:incomeTopLength}) }}</a>
+ <a href="#" class="listLengthTrigger">{{ trans('firefly.show_full_list',['number' => $incomeTopLength]) }}</a>
</td>
</tr>
@endif
diff --git a/resources/views/reports/budget/partials/budgets.blade.php b/resources/views/reports/budget/partials/budgets.blade.php
index 4db8b10e18..f9ee2a3b7f 100644
--- a/resources/views/reports/budget/partials/budgets.blade.php
+++ b/resources/views/reports/budget/partials/budgets.blade.php
@@ -1,41 +1,41 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
<th data-defaultsign="_19">{{ trans('list.percentage') }}</th>
</tr>
</thead>
<tbody>
- {% for budget in report %}
- {% if budget.currencies|length == 0 %}
+ @foreach($report as $budget)
+ @if(count($budget['currencies']) === 0)
<tr>
- <td data-value="{{ budget.name }}">
- <a href="{{ route('budgets.show', budget.id) }}" title="{{ budget.name }}">{{ budget.name }}</a>
+ <td data-value="{{ $budget['name'] }}">
+ <a href="{{ route('budgets.show', $budget['id']) }}" title="{{ $budget['name'] }}">{{ $budget['name'] }}</a>
</td>
- <td class="text-right">&mdash;</td>
+ <td class="text-end">&mdash;</td>
<td>&nbsp;</td>
</tr>
@endif
- {% for currency in budget.currencies %}
+ @foreach($budget['currencies'] as $currency)
<tr>
- <td data-value="{{ budget.name }} ({{ currency.currency_name }})">
- <a href="{{ route('budgets.show', budget.id) }}" title="{{ budget.name }}">{{ budget.name }} ({{ currency.currency_name }})</a>
+ <td data-value="{{ $budget['name'] }} ({{ $currency['currency_name'] }})">
+ <a href="{{ route('budgets.show', $budget['id']) }}" title="{{ $budget['name'] }}">{{ $budget['name'] }} ({{ $currency['currency_name'] }})</a>
</td>
- <td data-value="{{ currency.sum }}" class="text-right">
- {{ format_amount_by_symbol(currency.sum, currency.currency_symbol, currency.currency_decimal_places) }}
+ <td data-value="{{ $currency['sum'] }}" class="text-end">
+ {!! format_amount_by_symbol($currency['sum'], $currency['currency_symbol'], $currency['currency_decimal_places']) !!}
</td>
- <td data-value="{{ currency.sum_pct }}">{{ currency.sum_pct }}%</td>
+ <td data-value="{{ $currency['sum_pct'] }}">{{ $currency['sum_pct'] }}%</td>
</tr>
@endforeach
@endforeach
</tbody>
<tfoot>
- {% for sum in sums %}
+ @foreach($sums as $sum)
<tr>
- <td>{{ 'sum'|_ }} ({{ sum.currency_name }})</td>
- <td class="text-right">
- {{ format_amount_by_symbol(sum.sum, sum.currency_symbol, sum.currency_decimal_places) }}
+ <td>{{ __('firefly.sum') }} ({{ $sum['currency_name'] }})</td>
+ <td class="text-end">
+ {!! format_amount_by_symbol($sum['sum'], $sum['currency_symbol'], $sum['currency_decimal_places']) !!}
</td>
<td>&nbsp;</td>
</tr>
diff --git a/resources/views/reports/budget/partials/top-expenses.blade.php b/resources/views/reports/budget/partials/top-expenses.blade.php
index 34e315464b..b107b8e8ce 100644
--- a/resources/views/reports/budget/partials/top-expenses.blade.php
+++ b/resources/views/reports/budget/partials/top-expenses.blade.php
@@ -1,52 +1,52 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsort="disabled">{{ 'description'|_ }}</th>
- <th data-defaultsign="month">{{ 'date'|_ }}</th>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
+ <th data-defaultsort="disabled">{{ __('firefly.description') }}</th>
+ <th data-defaultsign="month">{{ __('firefly.date') }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
<th data-defaultsign="az">{{ __('firefly.budget') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.amount') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.amount') }}</th>
</tr>
</thead>
<tbody>
- {% for row in result %}
- {% if loop.index > listLength %}
+ @foreach($result as $row)
+ @if($loop->index > $listLength)
<tr class="overListLength">
@else
<tr>
@endif
<td data-sortable="false">
- <a href="{{ route('transactions.show', row.transaction_group_id) }}">
- {{ row.description }}
+ <a href="{{ route('transactions.show', $row['transaction_group_id']) }}">
+ {{ $row['description'] }}
</a>
</td>
- <td data-value="{{ row.date_sort }}">
- {{ row.date }}
+ <td data-value="{{ $row['date_sort'] }}">
+ {{ $row['date'] }}
</td>
<td data-sortable="false">
- <a href="{{ route('accounts.show', row.destination_account_id) }}">
- {{ row.destination_account_name }}
+ <a href="{{ route('accounts.show', $row['destination_account_id']) }}">
+ {{ $row['destination_account_name'] }}
</a>
</td>
<td data-sortable="false">
- <a href="{{ route('budgets.show', row.budget_id) }}">
- {{ row.budget_name }}
+ <a href="{{ route('budgets.show', $row['budget_id']) }}">
+ {{ $row['budget_name'] }}
</a>
</td>
- <td data-value="{{ row.amount }}" class="text-right">
- {{ format_amount_by_symbol(row.amount, row.currency_symbol, row.currency_decimal_places) }}
+ <td data-value="{{ $row['amount'] }}" class="text-end">
+ {!! format_amount_by_symbol($row['amount'], $row['currency_symbol'], $row['currency_decimal_places']) !!}
</td>
</tr>
@endforeach
</tbody>
<tfoot>
- {% if result|length > listLength %}
+ @if(count($result) > $listLength)
<tr>
<td colspan="5" class="active">
- <a href="#" class="listLengthTrigger">{{ trans('firefly.show_full_list',{number:incomeTopLength}) }}</a>
+ <a href="#" class="listLengthTrigger">{{ trans('firefly.show_full_list',['number' => $incomeTopLength]) }}</a>
</td>
</tr>
@endif
diff --git a/resources/views/reports/category/month.blade.php b/resources/views/reports/category/month.blade.php
index 357080aa79..83ab9aeaec 100644
--- a/resources/views/reports/category/month.blade.php
+++ b/resources/views/reports/category/month.blade.php
@@ -10,9 +10,9 @@
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'accounts'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.accounts') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountsHolder">
+ <div class="card-body p-0" id="accountsHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -27,7 +27,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'categories'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="categoriesHolder">
+ <div class="card-body p-0" id="categoriesHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -44,7 +44,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'account_per_category'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountPerCategoryHolder">
+ <div class="card-body p-0" id="accountPerCategoryHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -59,7 +59,7 @@
<div class="col-lg-4 col-md-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_category'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_category') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -97,7 +97,7 @@
<div class="col-lg-6 col-md-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_source_account'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_source_account') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -123,7 +123,7 @@
<div class="col-lg-6 col-md-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_destination_account'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_destination_account') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -166,7 +166,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'average_spending_per_destination'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="avgExpensesHolder">
+ <div class="card-body p-0" id="avgExpensesHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -181,7 +181,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'average_earning_per_source'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="avgIncomeHolder">
+ <div class="card-body p-0" id="avgIncomeHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -196,9 +196,9 @@
<div class="col-lg-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expenses'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
+ <h3 class="card-title">{{ __('firefly.expenses') }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
</div>
- <div class="box-body table-responsive no-padding" id="topExpensesHolder">
+ <div class="card-body p-0" id="topExpensesHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -213,7 +213,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'income'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
</div>
- <div class="box-body table-responsive no-padding" id="topIncomeHolder">
+ <div class="card-body p-0" id="topIncomeHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
diff --git a/resources/views/reports/category/partials/account-per-category.blade.php b/resources/views/reports/category/partials/account-per-category.blade.php
index e9fec9ce40..71942d61e7 100644
--- a/resources/views/reports/category/partials/account-per-category.blade.php
+++ b/resources/views/reports/category/partials/account-per-category.blade.php
@@ -1,9 +1,9 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
{% for category in categories %}
- <th data-defaultsign="_19" class="text-right">{{ category.name }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ category.name }}</th>
@endforeach
</tr>
</thead>
@@ -15,7 +15,7 @@
<a href="{{ route('accounts.show', account.id) }}" title="{{ account.iban }}">{{ account.name }} ({{ currency.currency_name }})</a>
</td>
{% for category in categories %}
- <td class="text-right">
+ <td class="text-end">
{% if currency.categories[category.id] %}
<span title="{{ 'earned'|_ }}: {{ format_amount_by_symbol(currency.categories[category.id].earned, currency.currency_symbol, currency.currency_decimal_places, false) }}, {{ __('firefly.spent') }}: {{ format_amount_by_symbol(currency.categories[category.id].spent, currency.currency_symbol, currency.currency_decimal_places, false) }}"
{{ format_amount_by_symbol(currency.categories[category.id].sum, currency.currency_symbol, currency.currency_decimal_places) }}
diff --git a/resources/views/reports/category/partials/accounts.blade.php b/resources/views/reports/category/partials/accounts.blade.php
index cd822c0094..5c7dddf5b7 100644
--- a/resources/views/reports/category/partials/accounts.blade.php
+++ b/resources/views/reports/category/partials/accounts.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'earned'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'earned'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -14,13 +14,13 @@
<td data-value="{{ account.name }} ({{ currency.currency_name }})">
<a href="{{ route('accounts.show', account.id) }}" title="{{ account.iban }}">{{ account.name }} ({{ currency.currency_name }})</a>
</td>
- <td data-value="{{ currency.spent }}" class="text-right">
+ <td data-value="{{ currency.spent }}" class="text-end">
{{ format_amount_by_symbol(currency.spent, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
- <td data-value="{{ currency.earned }}" class="text-right">
+ <td data-value="{{ currency.earned }}" class="text-end">
{{ format_amount_by_symbol(currency.earned, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
- <td data-value="{{ currency.sum }}" class="text-right">
+ <td data-value="{{ currency.sum }}" class="text-end">
{{ format_amount_by_symbol(currency.sum, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
</tr>
@@ -30,14 +30,14 @@
<tfoot>
{% for sum in sums %}
<tr>
- <td>{{ 'sum'|_ }} ({{ sum.currency_name }})</td>
- <td class="text-right">
+ <td>{{ __('firefly.sum') }} ({{ sum.currency_name }})</td>
+ <td class="text-end">
{{ format_amount_by_symbol(sum.spent_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.earned_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.total_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/category/partials/avg-expenses.blade.php b/resources/views/reports/category/partials/avg-expenses.blade.php
index 431e3e0741..c84107c088 100644
--- a/resources/views/reports/category/partials/avg-expenses.blade.php
+++ b/resources/views/reports/category/partials/avg-expenses.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'spent_average'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'total'|_ }}</th>
- <th data-defaultsign="_19">{{ 'transaction_count'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent_average') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.total') }}</th>
+ <th data-defaultsign="_19">{{ __('firefly.transaction_count') }}</th>
</tr>
</thead>
<tbody>
@@ -19,11 +19,11 @@
{{ row.destination_account_name }}
</a>
</td>
- <td data-value="{{ row.avg }}" class="text-right">
+ <td data-value="{{ row.avg }}" class="text-end">
{{ format_amount_by_symbol(row.avg, row.currency_symbol, row.currency_decimal_places) }}
</td>
- <td data-value="{{ row.sum }}" class="text-right">
+ <td data-value="{{ row.sum }}" class="text-end">
{{ format_amount_by_symbol(row.sum, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/category/partials/avg-income.blade.php b/resources/views/reports/category/partials/avg-income.blade.php
index fb70c5d7ea..a9bd6d8cea 100644
--- a/resources/views/reports/category/partials/avg-income.blade.php
+++ b/resources/views/reports/category/partials/avg-income.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'income_average'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'total'|_ }}</th>
- <th data-defaultsign="_19">{{ 'transaction_count'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'income_average'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.total') }}</th>
+ <th data-defaultsign="_19">{{ __('firefly.transaction_count') }}</th>
</tr>
</thead>
<tbody>
@@ -19,11 +19,11 @@
{{ row.source_account_name }}
</a>
</td>
- <td data-value="{{ row.avg }}" class="text-right">
+ <td data-value="{{ row.avg }}" class="text-end">
{{ format_amount_by_symbol(row.avg, row.currency_symbol, row.currency_decimal_places) }}
</td>
- <td data-value="{{ row.sum }}" class="text-right">
+ <td data-value="{{ row.sum }}" class="text-end">
{{ format_amount_by_symbol(row.sum, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/category/partials/categories.blade.php b/resources/views/reports/category/partials/categories.blade.php
index c231bd8d36..7bbeeb26b2 100644
--- a/resources/views/reports/category/partials/categories.blade.php
+++ b/resources/views/reports/category/partials/categories.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'earned'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'earned'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -14,9 +14,9 @@
<td data-value="{{ category.name }}">
<a href="{{ route('categories.show', category.id) }}" title="{{ category.name }}">{{ category.name }}</a>
</td>
- <td class="text-right">&mdash;</td>
- <td class="text-right">&mdash;</td>
- <td class="text-right">&mdash;</td>
+ <td class="text-end">&mdash;</td>
+ <td class="text-end">&mdash;</td>
+ <td class="text-end">&mdash;</td>
</tr>
@endif
{% for currency in category.currencies %}
@@ -24,13 +24,13 @@
<td data-value="{{ category.name }} ({{ currency.currency_name }})">
<a href="{{ route('categories.show', category.id) }}" title="{{ category.name }}">{{ category.name }} ({{ currency.currency_name }})</a>
</td>
- <td data-value="{{ currency.spent }}" class="text-right">
+ <td data-value="{{ currency.spent }}" class="text-end">
{{ format_amount_by_symbol(currency.spent, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
- <td data-value="{{ currency.earned }}" class="text-right">
+ <td data-value="{{ currency.earned }}" class="text-end">
{{ format_amount_by_symbol(currency.earned, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
- <td data-value="{{ currency.sum }}" class="text-right">
+ <td data-value="{{ currency.sum }}" class="text-end">
{{ format_amount_by_symbol(currency.sum, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
</tr>
@@ -40,14 +40,14 @@
<tfoot>
{% for sum in sums %}
<tr>
- <td>{{ 'sum'|_ }} ({{ sum.currency_name }})</td>
- <td class="text-right">
+ <td>{{ __('firefly.sum') }} ({{ sum.currency_name }})</td>
+ <td class="text-end">
{{ format_amount_by_symbol(sum.spent_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.earned_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.total_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/category/partials/top-expenses.blade.php b/resources/views/reports/category/partials/top-expenses.blade.php
index 7bd0754400..735a224bdf 100644
--- a/resources/views/reports/category/partials/top-expenses.blade.php
+++ b/resources/views/reports/category/partials/top-expenses.blade.php
@@ -1,11 +1,11 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsort="disabled">{{ 'description'|_ }}</th>
- <th data-defaultsign="month">{{ 'date'|_ }}</th>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
+ <th data-defaultsort="disabled">{{ __('firefly.description') }}</th>
+ <th data-defaultsign="month">{{ __('firefly.date') }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
<th data-defaultsign="az">{{ __('firefly.category') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.amount') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.amount') }}</th>
</tr>
</thead>
<tbody>
@@ -35,7 +35,7 @@
</a>
</td>
- <td data-value="{{ row.amount }}" class="text-right">
+ <td data-value="{{ row.amount }}" class="text-end">
{{ format_amount_by_symbol(row.amount, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/category/partials/top-income.blade.php b/resources/views/reports/category/partials/top-income.blade.php
index 68f071ee2a..adf6c1ecef 100644
--- a/resources/views/reports/category/partials/top-income.blade.php
+++ b/resources/views/reports/category/partials/top-income.blade.php
@@ -1,11 +1,11 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsort="disabled">{{ 'description'|_ }}</th>
- <th data-defaultsign="month">{{ 'date'|_ }}</th>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
+ <th data-defaultsort="disabled">{{ __('firefly.description') }}</th>
+ <th data-defaultsign="month">{{ __('firefly.date') }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
<th data-defaultsign="az">{{ __('firefly.category') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.amount') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.amount') }}</th>
</tr>
</thead>
<tbody>
@@ -35,7 +35,7 @@
</a>
</td>
- <td data-value="{{ row.amount }}" class="text-right">
+ <td data-value="{{ row.amount }}" class="text-end">
{{ format_amount_by_symbol(row.amount, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/default/month.blade.php b/resources/views/reports/default/month.blade.php
index b6c1f712cb..eb2d3dca68 100644
--- a/resources/views/reports/default/month.blade.php
+++ b/resources/views/reports/default/month.blade.php
@@ -27,7 +27,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'accountBalances'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountReport">
+ <div class="card-body p-0" id="accountReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -42,7 +42,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'incomeVsExpenses'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="incomeVsExpenseReport">
+ <div class="card-body p-0" id="incomeVsExpenseReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -61,7 +61,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'income'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="incomeReport">
+ <div class="card-body p-0" id="incomeReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -74,9 +74,9 @@
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expenses'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expenses') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="expenseReport">
+ <div class="card-body p-0" id="expenseReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -93,9 +93,9 @@
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'budgets'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.budgets') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="budgetReport">
+ <div class="card-body p-0" id="budgetReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -112,7 +112,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'categories'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="categoryReport"></div>
+ <div class="card-body p-0" id="categoryReport"></div>
{{-- loading indicator --}}
<div class="overlay">
<div class="spinner-border spinner-border-sm" role="status">
@@ -126,9 +126,9 @@
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'budgets'|_ }} ({{ 'splitByAccount'|_|lower }})</h3>
+ <h3 class="card-title">{{ __('firefly.budgets') }} ({{ 'splitByAccount'|_|lower }})</h3>
</div>
- <div class="box-body table-responsive no-padding" id="balanceReport">
+ <div class="card-body p-0" id="balanceReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -146,7 +146,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'bills'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="billReport"></div>
+ <div class="card-body p-0" id="billReport"></div>
{{-- loading indicator --}}
<div class="overlay">
<div class="spinner-border spinner-border-sm" role="status">
diff --git a/resources/views/reports/default/multi-year.blade.php b/resources/views/reports/default/multi-year.blade.php
index 7571d62ffe..11f7b05579 100644
--- a/resources/views/reports/default/multi-year.blade.php
+++ b/resources/views/reports/default/multi-year.blade.php
@@ -27,7 +27,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'accountBalances'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountReport">
+ <div class="card-body p-0" id="accountReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -42,7 +42,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'incomeVsExpenses'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="incomeVsExpenseReport">
+ <div class="card-body p-0" id="incomeVsExpenseReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -61,7 +61,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'income'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="incomeReport">
+ <div class="card-body p-0" id="incomeReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -75,9 +75,9 @@
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expenses'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expenses') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="expenseReport">
+ <div class="card-body p-0" id="expenseReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -114,7 +114,7 @@
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'budgets'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.budgets') }}</h3>
</div>
<div class="box-body no-padding table-responsive" id="budgetPeriodReport">
</div>
@@ -149,7 +149,7 @@
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'categories'|_ }} ({{ 'expenses'|_ }})</h3>
+ <h3 class="card-title">{{ 'categories'|_ }} ({{ __('firefly.expenses') }})</h3>
</div>
<div class="box-body no-padding table-responsive" id="categoryExpense">
</div>
diff --git a/resources/views/reports/default/year.blade.php b/resources/views/reports/default/year.blade.php
index 7ed6dd2e8b..1bc90ccb1a 100644
--- a/resources/views/reports/default/year.blade.php
+++ b/resources/views/reports/default/year.blade.php
@@ -27,7 +27,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'accountBalances'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountReport">
+ <div class="card-body p-0" id="accountReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -42,7 +42,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'incomeVsExpenses'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="incomeVsExpenseReport">
+ <div class="card-body p-0" id="incomeVsExpenseReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -61,7 +61,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'income'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="incomeReport">
+ <div class="card-body p-0" id="incomeReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -74,9 +74,9 @@
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expenses'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expenses') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="expenseReport">
+ <div class="card-body p-0" id="expenseReport">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -112,7 +112,7 @@
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'budgets'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.budgets') }}</h3>
</div>
<div class="box-body no-padding table-responsive" id="budgetPeriodReport">
</div>
@@ -147,7 +147,7 @@
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'categories'|_ }} ({{ 'expenses'|_ }})</h3>
+ <h3 class="card-title">{{ 'categories'|_ }} ({{ __('firefly.expenses') }})</h3>
</div>
<div class="box-body no-padding table-responsive" id="categoryExpense">
</div>
diff --git a/resources/views/reports/double/partials/accounts-per-asset.blade.php b/resources/views/reports/double/partials/accounts-per-asset.blade.php
index c780718283..f548b5b320 100644
--- a/resources/views/reports/double/partials/accounts-per-asset.blade.php
+++ b/resources/views/reports/double/partials/accounts-per-asset.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'earned'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'earned'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -13,13 +13,13 @@
<td>
<a href="{{ route('accounts.show', [account.account_id]) }}" title="{{ account.account_name }}">{{ account.account_name }}</a>
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(account.spent, account.currency_symbol, account.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(account.earned, account.currency_symbol, account.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(account.sum, account.currency_symbol, account.currency_decimal_places) }}
</td>
</tr>
@@ -28,14 +28,14 @@
<tfoot>
{% for sum in sums %}
<tr>
- <td>{{ 'sum'|_ }} ({{ sum.currency_name }})</td>
- <td class="text-right">
+ <td>{{ __('firefly.sum') }} ({{ sum.currency_name }})</td>
+ <td class="text-end">
{{ format_amount_by_symbol(sum.spent, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.earned, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/double/partials/accounts.blade.php b/resources/views/reports/double/partials/accounts.blade.php
index b98fcc07ef..97dc2a333e 100644
--- a/resources/views/reports/double/partials/accounts.blade.php
+++ b/resources/views/reports/double/partials/accounts.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'earned'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'earned'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -24,13 +24,13 @@
@endif
@endif
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(account.spent, account.currency_symbol, account.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(account.earned, account.currency_symbol, account.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(account.sum, account.currency_symbol, account.currency_decimal_places) }}
</td>
</tr>
@@ -39,14 +39,14 @@
<tfoot>
{% for sum in sums %}
<tr>
- <td>{{ 'sum'|_ }} ({{ sum.currency_name }})</td>
- <td class="text-right">
+ <td>{{ __('firefly.sum') }} ({{ sum.currency_name }})</td>
+ <td class="text-end">
{{ format_amount_by_symbol(sum.spent, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.earned, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/double/partials/avg-expenses.blade.php b/resources/views/reports/double/partials/avg-expenses.blade.php
index fd95f3bd28..58767c7283 100644
--- a/resources/views/reports/double/partials/avg-expenses.blade.php
+++ b/resources/views/reports/double/partials/avg-expenses.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'spent_average'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'total'|_ }}</th>
- <th data-defaultsign="_19">{{ 'transaction_count'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent_average') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.total') }}</th>
+ <th data-defaultsign="_19">{{ __('firefly.transaction_count') }}</th>
</tr>
</thead>
<tbody>
@@ -19,11 +19,11 @@
{{ row.source_account_name }}
</a>
</td>
- <td data-value="{{ row.avg }}" class="text-right">
+ <td data-value="{{ row.avg }}" class="text-end">
{{ format_amount_by_symbol(row.avg, row.currency_symbol, row.currency_decimal_places) }}
</td>
- <td data-value="{{ row.sum }}" class="text-right">
+ <td data-value="{{ row.sum }}" class="text-end">
{{ format_amount_by_symbol(row.sum, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/double/partials/avg-income.blade.php b/resources/views/reports/double/partials/avg-income.blade.php
index 431e3e0741..c84107c088 100644
--- a/resources/views/reports/double/partials/avg-income.blade.php
+++ b/resources/views/reports/double/partials/avg-income.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'spent_average'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'total'|_ }}</th>
- <th data-defaultsign="_19">{{ 'transaction_count'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent_average') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.total') }}</th>
+ <th data-defaultsign="_19">{{ __('firefly.transaction_count') }}</th>
</tr>
</thead>
<tbody>
@@ -19,11 +19,11 @@
{{ row.destination_account_name }}
</a>
</td>
- <td data-value="{{ row.avg }}" class="text-right">
+ <td data-value="{{ row.avg }}" class="text-end">
{{ format_amount_by_symbol(row.avg, row.currency_symbol, row.currency_decimal_places) }}
</td>
- <td data-value="{{ row.sum }}" class="text-right">
+ <td data-value="{{ row.sum }}" class="text-end">
{{ format_amount_by_symbol(row.sum, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/double/partials/top-expenses.blade.php b/resources/views/reports/double/partials/top-expenses.blade.php
index e1ab3f02e3..80562baff1 100644
--- a/resources/views/reports/double/partials/top-expenses.blade.php
+++ b/resources/views/reports/double/partials/top-expenses.blade.php
@@ -1,11 +1,11 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsort="disabled">{{ 'description'|_ }}</th>
- <th data-defaultsign="month">{{ 'date'|_ }}</th>
+ <th data-defaultsort="disabled">{{ __('firefly.description') }}</th>
+ <th data-defaultsign="month">{{ __('firefly.date') }}</th>
<th data-defaultsign="az">{{ 'source_account'|_ }}</th>
<th data-defaultsign="az">{{ 'destination_account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.amount') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.amount') }}</th>
</tr>
</thead>
<tbody>
@@ -36,7 +36,7 @@
</td>
- <td data-value="{{ row.amount }}" class="text-right">
+ <td data-value="{{ row.amount }}" class="text-end">
{{ format_amount_by_symbol(row.amount, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/double/partials/top-income.blade.php b/resources/views/reports/double/partials/top-income.blade.php
index e1ab3f02e3..80562baff1 100644
--- a/resources/views/reports/double/partials/top-income.blade.php
+++ b/resources/views/reports/double/partials/top-income.blade.php
@@ -1,11 +1,11 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsort="disabled">{{ 'description'|_ }}</th>
- <th data-defaultsign="month">{{ 'date'|_ }}</th>
+ <th data-defaultsort="disabled">{{ __('firefly.description') }}</th>
+ <th data-defaultsign="month">{{ __('firefly.date') }}</th>
<th data-defaultsign="az">{{ 'source_account'|_ }}</th>
<th data-defaultsign="az">{{ 'destination_account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.amount') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.amount') }}</th>
</tr>
</thead>
<tbody>
@@ -36,7 +36,7 @@
</td>
- <td data-value="{{ row.amount }}" class="text-right">
+ <td data-value="{{ row.amount }}" class="text-end">
{{ format_amount_by_symbol(row.amount, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/double/report.blade.php b/resources/views/reports/double/report.blade.php
index cc7f601a4a..6d99440190 100644
--- a/resources/views/reports/double/report.blade.php
+++ b/resources/views/reports/double/report.blade.php
@@ -12,7 +12,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'in_out_accounts'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="opsAccounts">
+ <div class="card-body p-0" id="opsAccounts">
{{-- loading indicator --}}
<div class="overlay">
<div class="spinner-border spinner-border-sm" role="status">
@@ -28,7 +28,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'in_out_accounts_per_asset'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="opsAccountsAsset">
+ <div class="card-body p-0" id="opsAccountsAsset">
{{-- loading indicator --}}
<div class="overlay">
<div class="spinner-border spinner-border-sm" role="status">
@@ -44,7 +44,7 @@
<div class="col-lg-4 col-md-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_category'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_category') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -138,9 +138,9 @@
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expenses'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
+ <h3 class="card-title">{{ __('firefly.expenses') }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
</div>
- <div class="box-body table-responsive no-padding" id="topExpensesHolder">
+ <div class="card-body p-0" id="topExpensesHolder">
{{-- loading indicator --}}
<div class="overlay">
<div class="spinner-border spinner-border-sm" role="status">
@@ -156,7 +156,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'income'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
</div>
- <div class="box-body table-responsive no-padding" id="topIncomeHolder">
+ <div class="card-body p-0" id="topIncomeHolder">
{{-- loading indicator --}}
<div class="overlay">
<div class="spinner-border spinner-border-sm" role="status">
@@ -174,7 +174,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'average_spending_per_source'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="avgExpensesHolder">
+ <div class="card-body p-0" id="avgExpensesHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -189,7 +189,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'average_earning_per_destination'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="avgIncomeHolder">
+ <div class="card-body p-0" id="avgIncomeHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
diff --git a/resources/views/reports/options/budget.blade.php b/resources/views/reports/options/budget.blade.php
index c9e1878f02..9ab321c3c6 100644
--- a/resources/views/reports/options/budget.blade.php
+++ b/resources/views/reports/options/budget.blade.php
@@ -1,9 +1,9 @@
<div class="form-group">
- <label for="inputBudgets" class="col-sm-3 control-label">{{ 'select_budget'|_ }}</label>
+ <label for="inputBudgets" class="col-sm-3 control-label">{{ __('firefly.select_budget') }}</label>
<div class="col-sm-9">
<select id="inputBudgets" name="budget[]" multiple="multiple" class="form-control">
- {% for budget in budgets %}
- <option value="{{ budget.id }}" label="{{ budget.name }}">{{ budget.name }}</option>
+ @foreach($budgets as $budget)
+ <option value="{{ $budget->id }}" label="{{ $budget->name }}">{{ $budget->name }}</option>
@endforeach
</select>
</div>
diff --git a/resources/views/reports/options/category.blade.php b/resources/views/reports/options/category.blade.php
index 8815bbc086..36f3a376d3 100644
--- a/resources/views/reports/options/category.blade.php
+++ b/resources/views/reports/options/category.blade.php
@@ -1,9 +1,9 @@
<div class="form-group">
- <label for="inputCategories" class="col-sm-3 control-label">{{ 'select_category'|_ }}</label>
+ <label for="inputCategories" class="col-sm-3 control-label">{{ __('firefly.select_category') }}</label>
<div class="col-sm-9">
<select id="inputCategories" name="category[]" multiple="multiple" class="form-control">
- {% for category in categories %}
- <option value="{{ category.id }}" label="{{ category.name }}">{{ category.name }}</option>
+ @foreach($categories as $category)
+ <option value="{{ $category->id }}" label="{{ $category->name }}">{{ $category->name }}</option>
@endforeach
</select>
diff --git a/resources/views/reports/options/double.blade.php b/resources/views/reports/options/double.blade.php
index 6afaace216..5887870355 100644
--- a/resources/views/reports/options/double.blade.php
+++ b/resources/views/reports/options/double.blade.php
@@ -1,9 +1,9 @@
<div class="form-group">
- <label for="inputDoubleAccounts" class="col-sm-3 control-label">{{ 'select_expense_revenue'|_ }}</label>
+ <label for="inputDoubleAccounts" class="col-sm-3 control-label">{{ __('firefly.select_expense_revenue') }}</label>
<div class="col-sm-9">
<select id="inputDoubleAccounts" name="double[]" multiple="multiple" class="form-control">
- {% for account in set %}
- <option value="{{ account.id }}" label="{{ account.name }}{% if account.iban !='' %} ({{ account.iban }})@endif">{{ account.name }}{% if account.iban !='' %} ({{ account.iban }})@endif</option>
+ @foreach($set as $account)
+ <option value="{{ $account->id }}" label="{{ $account->name }}@if($account->iban !='') ({{ $account->iban }})@endif">{{ $account->name }}@if($account->iban !='') ({{ $account->iban }})@endif</option>
@endforeach
</select>
</div>
diff --git a/resources/views/reports/options/no-options.blade.php b/resources/views/reports/options/no-options.blade.php
index 0563b9dca3..9c0a8ce130 100644
--- a/resources/views/reports/options/no-options.blade.php
+++ b/resources/views/reports/options/no-options.blade.php
@@ -1,3 +1,3 @@
<p id="no_extra_options">
- <em>{{ 'report_has_no_extra_options'|_ }}</em>
+ <em>{{ __('firefly.report_has_no_extra_options') }}</em>
</p>
diff --git a/resources/views/reports/options/tag.blade.php b/resources/views/reports/options/tag.blade.php
index 117bb3e8a9..56ce94e237 100644
--- a/resources/views/reports/options/tag.blade.php
+++ b/resources/views/reports/options/tag.blade.php
@@ -1,14 +1,13 @@
<div class="form-group">
- <label for="inputTags" class="col-sm-3 control-label">{{ 'select_tag'|_ }}</label>
+ <label for="inputTags" class="col-sm-3 control-label">{{ __('firefly.select_tag') }}</label>
<div class="col-sm-9">
<select id="inputTags" name="tag[]" multiple="multiple" class="form-control">
- {% for year in tags %}
- <optgroup label="{{ year.year }}">
- {% for tag in year.tags %}
- <option value="{{ tag.id }}" label="{{ tag.tag|e('html') }}">{{ tag.tag|e('html') }}</option>
+ @foreach($tags as $year)
+ <optgroup label="{{ $year['year'] }}">
+ @foreach($year['tags'] as $tag)
+ <option value="{{ $tag->id }}" label="{{ e($tag->tag) }}">{{ e($tag->tag) }}</option>
@endforeach
@endforeach
-
</select>
</div>
</div>
diff --git a/resources/views/reports/partials/accounts.blade.php b/resources/views/reports/partials/accounts.blade.php
index 8657f832af..a67e06209c 100644
--- a/resources/views/reports/partials/accounts.blade.php
+++ b/resources/views/reports/partials/accounts.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
<th data-defaultsign="_19" class="text-right hidden-xs">{{ 'balanceStart'|_ }}</th>
<th data-defaultsign="_19" class="text-right hidden-xs">{{ 'balanceEnd'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'difference'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'difference'|_ }}</th>
</tr>
</thead>
<tbody>
@@ -19,7 +19,7 @@
<td class="text-right hidden-xs" data-value="{{ account.end_balance }}">
{{ format_amount_by_symbol(account.end_balance, account.currency_symbol, account.currency_decimal_places) }}
</td>
- <td class="text-right"
+ <td class="text-end"
data-value="{{ (account.end_balance - account.start_balance) }}">
{{ format_amount_by_symbol(account.end_balance - account.start_balance, account.currency_symbol, account.currency_decimal_places) }}
</td>
@@ -33,13 +33,13 @@
<td>
&nbsp;
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.start, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.end, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.difference, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/partials/balance.blade.php b/resources/views/reports/partials/balance.blade.php
index 35c429a936..deb030fd20 100644
--- a/resources/views/reports/partials/balance.blade.php
+++ b/resources/views/reports/partials/balance.blade.php
@@ -1,14 +1,14 @@
<table class="table table-hover">
<thead>
<tr>
- <th>{{ 'budgets'|_ }}</th>
+ <th>{{ __('firefly.budgets') }}</th>
{% for account in report.accounts %}
{% if account.sum != 0 %}
<th class="text-right hidden-xs"><a href="{{ route('accounts.show',account.id) }}"
title="{{ account.iban|default(account.name) }}">{{ account.name }}</a></th>
@endif
@endforeach
- <th class="text-right">{{ 'sum'|_ }}</th>
+ <th class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -21,7 +21,7 @@
</td>
{% for account in report.accounts %}
{% if budget.spent[$account->id] %}
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(budget.spent[$account->id].spent, budget.spent[$account->id].currency_symbol, budget.spent[$account->id].currency_decimal_places) }}
<span data-location="budget-entry"
data-budget-id="{{ budget.budget_id }}"
@@ -36,7 +36,7 @@
@endif
@endforeach
- <td class="text-right">
+ <td class="text-end">
{% for sum in report.sums[budget.budget_id] %}
{{ format_amount_by_symbol(sum.sum, sum.currency_symbol, sum.currency_decimal_places) }}
<br/>
@@ -48,10 +48,10 @@
</tbody>
<tfoot>
<tr>
- <td><em>{{ 'sum'|_ }}</em></td>
+ <td><em>{{ __('firefly.sum') }}</em></td>
{% for account in report.accounts %}
{% if account.sum != 0 %}
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(account.sum, account.currency_symbol, account.currency_decimal_places) }}
</td>
@endif
diff --git a/resources/views/reports/partials/bills.blade.php b/resources/views/reports/partials/bills.blade.php
index 2347a309d2..fd61c7716b 100644
--- a/resources/views/reports/partials/bills.blade.php
+++ b/resources/views/reports/partials/bills.blade.php
@@ -5,7 +5,7 @@
<th data-defaultsign="_19" class="text-right hidden-xs">{{ trans('form.amount_min') }}</th>
<th data-defaultsign="_19" class="text-right hidden-xs">{{ trans('form.amount_max') }}</th>
<th data-defaultsign="_19">{{ trans('form.expected_on') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ trans('form.paid') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ trans('form.paid') }}</th>
</tr>
</thead>
<tbody>
@@ -26,7 +26,7 @@
{{ date.isoFormat($monthAndDayFormat) }}<br/>
@endforeach
</td>
- <td class="text-right">
+ <td class="text-end">
{% set hitCount = 0 %}
{% for journals in bill.paid_moments %}
{% for journal in journals %}
@@ -59,7 +59,7 @@
{{-- if bill is hit, show hit amount --}}
{% if line.isHit %}
- <td data-value="{{ line.getAmount }}" class="text-right">
+ <td data-value="{{ line.getAmount }}" class="text-end">
<a href="{{ route('transactions.show', line.getTransactionJournalId) }}">
{{ formatAmountByCurrency(line.getCurrency, line.getAmount) }}
</a>
diff --git a/resources/views/reports/partials/budget-period.blade.php b/resources/views/reports/partials/budget-period.blade.php
index 63bef46d44..e7dd60d6a1 100644
--- a/resources/views/reports/partials/budget-period.blade.php
+++ b/resources/views/reports/partials/budget-period.blade.php
@@ -3,10 +3,10 @@
<tr>
<th data-defaultsign="az" colspan="2">{{ __('firefly.budget') }}</th>
{% for period in periods %}
- <th data-defaultsign="_19" class="text-right">{{ period }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ period }}</th>
@endforeach
- <th data-defaultsign="_19" class="text-right">{{ 'average'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'average'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -24,20 +24,20 @@
</td>
{% for key, period in periods %}
{% if(info.entries[key]) %}
- <td data-value="{{ info.entries[key] }}" class="text-right">
+ <td data-value="{{ info.entries[key] }}" class="text-end">
{{ format_amount_by_symbol(info.entries[key], info.currency_symbol, info.currency_decimal_places) }}
</td>
@else
- <td data-value="0" class="text-right">
+ <td data-value="0" class="text-end">
{{ format_amount_by_symbol(0, info.currency_symbol, info.currency_decimal_places) }}
</td>
@endif
@endforeach
- <td data-value="{{ info.avg }}" class="text-right">
+ <td data-value="{{ info.avg }}" class="text-end">
{{ format_amount_by_symbol(info.avg, info.currency_symbol, info.currency_decimal_places) }}
</td>
- <td data-value="{{ info.sum }}" class="text-right">
+ <td data-value="{{ info.sum }}" class="text-end">
{{ format_amount_by_symbol(info.sum, info.currency_symbol, info.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/partials/budgets.blade.php b/resources/views/reports/partials/budgets.blade.php
index 8f2f9e938b..8ddcc6639f 100644
--- a/resources/views/reports/partials/budgets.blade.php
+++ b/resources/views/reports/partials/budgets.blade.php
@@ -2,14 +2,14 @@
<thead>
<tr>
<th data-defaultsign="az">{{ __('firefly.budget') }}</th>
- <th data-defaultsign="month" class="hidden-xs">{{ 'date'|_ }}</th>
+ <th data-defaultsign="month" class="hidden-xs">{{ __('firefly.date') }}</th>
<th data-defaultsign="_19" class="text-right hidden-xs">{{ 'budgeted'|_ }}</th>
<th data-defaultsign="_19" class="hidden-xs">{{ trans('list.percentage') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
<th data-defaultsign="_19" class="hidden-xs">{{ trans('list.percentage') }}</th>
<th data-defaultsort="disabled" class="hidden-xs">&nbsp;</th>
<th data-defaultsign="_19" class="text-right hidden-xs">{{ 'left'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'overspent'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'overspent'|_ }}</th>
</tr>
</thead>
<tbody>
@@ -49,7 +49,7 @@
<!-- spent, visible on mobile -->
- <td data-value="{{ budget_limit.spent|default(0) }}" class="text-right">
+ <td data-value="{{ budget_limit.spent|default(0) }}" class="text-end">
{{ format_amount_by_symbol(budget_limit.spent, budget_limit.currency_symbol, budget_limit.currency_decimal_places) }}
</td>
<!-- percentage, hidden -->
@@ -73,7 +73,7 @@
@endif
</td>
<!-- overspent, visible. -->
- <td data-value="{{ budget_limit.overspent|default(0) }}" class="text-right">
+ <td data-value="{{ budget_limit.overspent|default(0) }}" class="text-end">
{% if null != budget_limit.overspent %}
{{ format_amount_by_symbol(budget_limit.overspent, budget_limit.currency_symbol, budget_limit.currency_decimal_places) }}
@endif
@@ -85,14 +85,14 @@
<tfoot>
{% for sum in report.sums %}
<tr>
- <td colspan="2"><em>{{ 'sum'|_ }} ({{ sum.currency_name }})</em></td>
- <td class="text-right">{{ format_amount_by_symbol(sum.budgeted, sum.currency_symbol, sum.currency_decimal_places) }}</td>
+ <td colspan="2"><em>{{ __('firefly.sum') }} ({{ sum.currency_name }})</em></td>
+ <td class="text-end">{{ format_amount_by_symbol(sum.budgeted, sum.currency_symbol, sum.currency_decimal_places) }}</td>
<td>&nbsp;</td>
- <td class="text-right">{{ format_amount_by_symbol(sum.spent, sum.currency_symbol, sum.currency_decimal_places) }}</td>
+ <td class="text-end">{{ format_amount_by_symbol(sum.spent, sum.currency_symbol, sum.currency_decimal_places) }}</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
- <td class="text-right">{{ format_amount_by_symbol(sum.left, sum.currency_symbol, sum.currency_decimal_places) }}</td>
- <td class="text-right">{{ format_amount_by_symbol(sum.overspent, sum.currency_symbol, sum.currency_decimal_places) }}</td>
+ <td class="text-end">{{ format_amount_by_symbol(sum.left, sum.currency_symbol, sum.currency_decimal_places) }}</td>
+ <td class="text-end">{{ format_amount_by_symbol(sum.overspent, sum.currency_symbol, sum.currency_decimal_places) }}</td>
</tr>
@endforeach
diff --git a/resources/views/reports/partials/categories.blade.php b/resources/views/reports/partials/categories.blade.php
index 5e4b835833..45cd9bfdcb 100644
--- a/resources/views/reports/partials/categories.blade.php
+++ b/resources/views/reports/partials/categories.blade.php
@@ -2,9 +2,9 @@
<thead>
<tr>
<th data-defaultsign="az">{{ __('firefly.category') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'earned'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'earned'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
<th data-defaultsort="disabled">&nbsp;</th>
</tr>
</thead>
@@ -18,9 +18,9 @@
<td data-value="{{ category.title }}">
<a href="{{ route('categories.show', category.id) }}">{{ category.title }}</a>
</td>
- <td data-value="{{ category.spent }}" class="text-right">{{ format_amount_by_symbol(category.spent, category.currency_symbol, category.currency_decimal_places, true) }}</td>
- <td data-value="{{ category.earned }}" class="text-right">{{ format_amount_by_symbol(category.earned, category.currency_symbol, category.currency_decimal_places, true) }}</td>
- <td data-value="{{ category.sum }}" class="text-right">{{ format_amount_by_symbol(category.sum, category.currency_symbol, category.currency_decimal_places, true) }}</td>
+ <td data-value="{{ category.spent }}" class="text-end">{{ format_amount_by_symbol(category.spent, category.currency_symbol, category.currency_decimal_places, true) }}</td>
+ <td data-value="{{ category.earned }}" class="text-end">{{ format_amount_by_symbol(category.earned, category.currency_symbol, category.currency_decimal_places, true) }}</td>
+ <td data-value="{{ category.sum }}" class="text-end">{{ format_amount_by_symbol(category.sum, category.currency_symbol, category.currency_decimal_places, true) }}</td>
<td class="twenty-px">
<span class="fa fa-info-circle text-muted firefly-info-button" data-location="category-entry" data-category-id="{{ category.id }}" data-currency-id="{{ category.currency_id }}"
></span>
@@ -38,14 +38,14 @@
@endif
{% for sum in report.sums %}
<tr>
- <td><em>{{ 'sum'|_ }} ({{ sum.currency_name }})</em></td>
- <td class="text-right">
+ <td><em>{{ __('firefly.sum') }} ({{ sum.currency_name }})</em></td>
+ <td class="text-end">
{{ format_amount_by_symbol(sum.spent, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.earned, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/partials/category-period.blade.php b/resources/views/reports/partials/category-period.blade.php
index f0f219afd0..c09e3a7dab 100644
--- a/resources/views/reports/partials/category-period.blade.php
+++ b/resources/views/reports/partials/category-period.blade.php
@@ -3,9 +3,9 @@
<tr>
<th data-defaultsign="az" colspan="2">{{ __('firefly.category') }}</th>
{% for period in periods %}
- <th data-defaultsign="_19" class="text-right">{{ period }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ period }}</th>
@endforeach
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -24,11 +24,11 @@
{% for key, period in periods %}
{{-- income first --}}
{% if(info.entries[key]) %}
- <td data-value="{{ info.entries[key] }}" class="text-right">
+ <td data-value="{{ info.entries[key] }}" class="text-end">
{{ format_amount_by_symbol(info.entries[key], info.currency_symbol, info.currency_decimal_places) }}
</td>
@else
- <td data-value="0" class="text-right">
+ <td data-value="0" class="text-end">
{{ format_amount_by_symbol(0, info.currency_symbol, info.currency_decimal_places) }}
</td>
@endif
@@ -36,11 +36,11 @@
{{-- if sum of income, display: --}}
{% if info.sum %}
- <td data-value="{{ info.sum }}" class="text-right">
+ <td data-value="{{ info.sum }}" class="text-end">
{{ format_amount_by_symbol(info.sum, info.currency_symbol, info.currency_decimal_places) }}
</td>
@else
- <td data-value="0" class="text-right">
+ <td data-value="0" class="text-end">
{{ format_amount_by_symbol(0, info.currency_symbol, info.currency_decimal_places) }}
</td>
@endif
diff --git a/resources/views/reports/partials/exp-not-grouped.blade.php b/resources/views/reports/partials/exp-not-grouped.blade.php
index f5b4bb3633..e21120f956 100644
--- a/resources/views/reports/partials/exp-not-grouped.blade.php
+++ b/resources/views/reports/partials/exp-not-grouped.blade.php
@@ -1,7 +1,7 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th class="half" data-defaultsign="az">{{ 'name'|_ }}</th>
+ <th class="half" data-defaultsign="az">{{ __('firefly.name') }}</th>
<th class="quarter" class="hidden-xs" data-defaultsign="_19">{{ __('firefly.spent') }}</th>
<th class="quarter" class="hidden-xs" data-defaultsign="_19">{{ 'earned'|_ }}</th>
</tr>
diff --git a/resources/views/reports/partials/income-expenses.blade.php b/resources/views/reports/partials/income-expenses.blade.php
index e69f111d91..d64ce1baba 100644
--- a/resources/views/reports/partials/income-expenses.blade.php
+++ b/resources/views/reports/partials/income-expenses.blade.php
@@ -1,8 +1,8 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'total'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.total') }}</th>
<th data-defaultsign="_19" class="text-right hidden-xs">{{ 'average'|_ }}</th>
<th data-defaultsort="disabled"></th>
</tr>
@@ -23,7 +23,7 @@
</small>
@endif
</td>
- <td data-value="{{ account.sum }}" class="text-right">
+ <td data-value="{{ account.sum }}" class="text-end">
{{ format_amount_by_symbol(account.sum, account.currency_symbol, account.currency_decimal_places) }}
</td>
<td class="text-right hidden-xs" data-value="{{ account.average }}">
@@ -51,8 +51,8 @@
@endif
{% for sum in report.sums %}
<tr>
- <td><em>{{ 'sum'|_ }} ({{ sum.currency_name }})</em></td>
- <td class="text-right">
+ <td><em>{{ __('firefly.sum') }} ({{ sum.currency_name }})</em></td>
+ <td class="text-end">
{{ format_amount_by_symbol(sum.sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
<td>&nbsp;</td>
diff --git a/resources/views/reports/partials/journals-audit.blade.php b/resources/views/reports/partials/journals-audit.blade.php
index 39ede45723..872c3110ff 100644
--- a/resources/views/reports/partials/journals-audit.blade.php
+++ b/resources/views/reports/partials/journals-audit.blade.php
@@ -1,4 +1,4 @@
-<table class="table table-hover table-compressed table-responsive ">
+<table class="table table-hover table-sm table-responsive ">
<thead>
<tr class="ignore">
<th class="hide-buttons">&nbsp;</th>
diff --git a/resources/views/reports/partials/top-transactions.blade.php b/resources/views/reports/partials/top-transactions.blade.php
index c31fbe05c9..1d29b367b1 100644
--- a/resources/views/reports/partials/top-transactions.blade.php
+++ b/resources/views/reports/partials/top-transactions.blade.php
@@ -1,9 +1,9 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
- <th data-defaultsign="az">{{ 'description'|_ }}</th>
- <th data-defaultsign="month">{{ 'date'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
+ <th data-defaultsign="az">{{ __('firefly.description') }}</th>
+ <th data-defaultsign="month">{{ __('firefly.date') }}</th>
<th class="quarter" class="hidden-xs" data-defaultsign="_19">{{ __('firefly.amount') }}</th>
</tr>
</thead>
@@ -18,7 +18,7 @@
{{ transaction.date.isoFormat($monthAndDayFormat) }}
</td>
<!-- TODO i dont think transactionAmount will work. -->
- <td class="text-right" data-value="{{ transaction.amount}}"><span
+ <td class="text-end" data-value="{{ transaction.amount}}"><span
class="mr-2">
{{ format_amount_by_symbol(transaction.amount, transaction.currency_symbol, transaction.currency_decimal_places) }}
diff --git a/resources/views/reports/tag/month.blade.php b/resources/views/reports/tag/month.blade.php
index 8e3515cc94..a28cf15737 100644
--- a/resources/views/reports/tag/month.blade.php
+++ b/resources/views/reports/tag/month.blade.php
@@ -10,9 +10,9 @@
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'accounts'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.accounts') }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountsHolder">
+ <div class="card-body p-0" id="accountsHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -27,7 +27,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'tags'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="tagsHolder">
+ <div class="card-body p-0" id="tagsHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -44,7 +44,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'account_per_tag'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="accountPerTagHolder">
+ <div class="card-body p-0" id="accountPerTagHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -85,7 +85,7 @@
<div class="col-lg-4 col-md-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_category'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_category') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -123,7 +123,7 @@
<div class="col-lg-6 col-md-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_source_account'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_source_account') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -149,7 +149,7 @@
<div class="col-lg-6 col-md-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expense_per_destination_account'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.expense_per_destination_account') }}</h3>
</div>
<div class="card-body">
<div class="center-chart">
@@ -197,7 +197,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'average_spending_per_destination'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="avgExpensesHolder">
+ <div class="card-body p-0" id="avgExpensesHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -212,7 +212,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'average_earning_per_source'|_ }}</h3>
</div>
- <div class="box-body table-responsive no-padding" id="avgIncomeHolder">
+ <div class="card-body p-0" id="avgIncomeHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -227,9 +227,9 @@
<div class="col-lg-6">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'expenses'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
+ <h3 class="card-title">{{ __('firefly.expenses') }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
</div>
- <div class="box-body table-responsive no-padding" id="topExpensesHolder">
+ <div class="card-body p-0" id="topExpensesHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
@@ -244,7 +244,7 @@
<div class="card-header">
<h3 class="card-title">{{ 'income'|_ }} ({{ trans('firefly.topX', {number: listLength}) }})</h3>
</div>
- <div class="box-body table-responsive no-padding" id="topIncomeHolder">
+ <div class="card-body p-0" id="topIncomeHolder">
</div>
{{-- loading indicator --}}
<div class="overlay">
diff --git a/resources/views/reports/tag/partials/account-per-tag.blade.php b/resources/views/reports/tag/partials/account-per-tag.blade.php
index 3f5f76c59d..b0767fd2b3 100644
--- a/resources/views/reports/tag/partials/account-per-tag.blade.php
+++ b/resources/views/reports/tag/partials/account-per-tag.blade.php
@@ -1,9 +1,9 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
{% for tag in tags %}
- <th data-defaultsign="_19" class="text-right">{{ tag.tag }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ tag.tag }}</th>
@endforeach
</tr>
</thead>
@@ -15,7 +15,7 @@
<a href="{{ route('accounts.show', account.id) }}" title="{{ account.iban }}">{{ account.name }} ({{ currency.currency_name }})</a>
</td>
{% for tag in tags %}
- <td class="text-right">
+ <td class="text-end">
{% if currency.tags[tag.id] %}
<span title="{{ 'earned'|_ }}: {{ format_amount_by_symbol(currency.tags[tag.id].earned, currency.currency_symbol, currency.currency_decimal_places, false) }}, {{ __('firefly.spent') }}: {{ format_amount_by_symbol(currency.tags[tag.id].spent, currency.currency_symbol, currency.currency_decimal_places, false) }}"
{{ format_amount_by_symbol(currency.tags[tag.id].sum, currency.currency_symbol, currency.currency_decimal_places) }}
diff --git a/resources/views/reports/tag/partials/accounts.blade.php b/resources/views/reports/tag/partials/accounts.blade.php
index cd822c0094..5c7dddf5b7 100644
--- a/resources/views/reports/tag/partials/accounts.blade.php
+++ b/resources/views/reports/tag/partials/accounts.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'earned'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'earned'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -14,13 +14,13 @@
<td data-value="{{ account.name }} ({{ currency.currency_name }})">
<a href="{{ route('accounts.show', account.id) }}" title="{{ account.iban }}">{{ account.name }} ({{ currency.currency_name }})</a>
</td>
- <td data-value="{{ currency.spent }}" class="text-right">
+ <td data-value="{{ currency.spent }}" class="text-end">
{{ format_amount_by_symbol(currency.spent, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
- <td data-value="{{ currency.earned }}" class="text-right">
+ <td data-value="{{ currency.earned }}" class="text-end">
{{ format_amount_by_symbol(currency.earned, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
- <td data-value="{{ currency.sum }}" class="text-right">
+ <td data-value="{{ currency.sum }}" class="text-end">
{{ format_amount_by_symbol(currency.sum, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
</tr>
@@ -30,14 +30,14 @@
<tfoot>
{% for sum in sums %}
<tr>
- <td>{{ 'sum'|_ }} ({{ sum.currency_name }})</td>
- <td class="text-right">
+ <td>{{ __('firefly.sum') }} ({{ sum.currency_name }})</td>
+ <td class="text-end">
{{ format_amount_by_symbol(sum.spent_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.earned_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.total_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/tag/partials/avg-expenses.blade.php b/resources/views/reports/tag/partials/avg-expenses.blade.php
index 431e3e0741..c84107c088 100644
--- a/resources/views/reports/tag/partials/avg-expenses.blade.php
+++ b/resources/views/reports/tag/partials/avg-expenses.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'spent_average'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'total'|_ }}</th>
- <th data-defaultsign="_19">{{ 'transaction_count'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent_average') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.total') }}</th>
+ <th data-defaultsign="_19">{{ __('firefly.transaction_count') }}</th>
</tr>
</thead>
<tbody>
@@ -19,11 +19,11 @@
{{ row.destination_account_name }}
</a>
</td>
- <td data-value="{{ row.avg }}" class="text-right">
+ <td data-value="{{ row.avg }}" class="text-end">
{{ format_amount_by_symbol(row.avg, row.currency_symbol, row.currency_decimal_places) }}
</td>
- <td data-value="{{ row.sum }}" class="text-right">
+ <td data-value="{{ row.sum }}" class="text-end">
{{ format_amount_by_symbol(row.sum, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/tag/partials/avg-income.blade.php b/resources/views/reports/tag/partials/avg-income.blade.php
index fd95f3bd28..58767c7283 100644
--- a/resources/views/reports/tag/partials/avg-income.blade.php
+++ b/resources/views/reports/tag/partials/avg-income.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'spent_average'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'total'|_ }}</th>
- <th data-defaultsign="_19">{{ 'transaction_count'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent_average') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.total') }}</th>
+ <th data-defaultsign="_19">{{ __('firefly.transaction_count') }}</th>
</tr>
</thead>
<tbody>
@@ -19,11 +19,11 @@
{{ row.source_account_name }}
</a>
</td>
- <td data-value="{{ row.avg }}" class="text-right">
+ <td data-value="{{ row.avg }}" class="text-end">
{{ format_amount_by_symbol(row.avg, row.currency_symbol, row.currency_decimal_places) }}
</td>
- <td data-value="{{ row.sum }}" class="text-right">
+ <td data-value="{{ row.sum }}" class="text-end">
{{ format_amount_by_symbol(row.sum, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/tag/partials/tags.blade.php b/resources/views/reports/tag/partials/tags.blade.php
index e09638e859..a235ad8d71 100644
--- a/resources/views/reports/tag/partials/tags.blade.php
+++ b/resources/views/reports/tag/partials/tags.blade.php
@@ -1,10 +1,10 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsign="az">{{ 'name'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.spent') }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'earned'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ 'sum'|_ }}</th>
+ <th data-defaultsign="az">{{ __('firefly.name') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.spent') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ 'earned'|_ }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.sum') }}</th>
</tr>
</thead>
<tbody>
@@ -14,9 +14,9 @@
<td data-value="{{ tag.name }}">
<a href="{{ route('tags.show', [tag.id]) }}" title="{{ tag.name }}">{{ tag.name }}</a>
</td>
- <td class="text-right">&mdash;</td>
- <td class="text-right">&mdash;</td>
- <td class="text-right">&mdash;</td>
+ <td class="text-end">&mdash;</td>
+ <td class="text-end">&mdash;</td>
+ <td class="text-end">&mdash;</td>
</tr>
@endif
{% for currency in tag.currencies %}
@@ -24,13 +24,13 @@
<td data-value="{{ tag.name }} ({{ currency.currency_name }})">
<a href="{{ route('tags.show', [tag.id]) }}" title="{{ tag.name }}">{{ tag.name }} ({{ currency.currency_name }})</a>
</td>
- <td data-value="{{ currency.spent }}" class="text-right">
+ <td data-value="{{ currency.spent }}" class="text-end">
{{ format_amount_by_symbol(currency.spent, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
- <td data-value="{{ currency.earned }}" class="text-right">
+ <td data-value="{{ currency.earned }}" class="text-end">
{{ format_amount_by_symbol(currency.earned, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
- <td data-value="{{ currency.sum }}" class="text-right">
+ <td data-value="{{ currency.sum }}" class="text-end">
{{ format_amount_by_symbol(currency.sum, currency.currency_symbol, currency.currency_decimal_places) }}
</td>
</tr>
@@ -40,14 +40,14 @@
<tfoot>
{% for sum in sums %}
<tr>
- <td>{{ 'sum'|_ }} ({{ sum.currency_name }})</td>
- <td class="text-right">
+ <td>{{ __('firefly.sum') }} ({{ sum.currency_name }})</td>
+ <td class="text-end">
{{ format_amount_by_symbol(sum.spent_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.earned_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
- <td class="text-right">
+ <td class="text-end">
{{ format_amount_by_symbol(sum.total_sum, sum.currency_symbol, sum.currency_decimal_places) }}
</td>
</tr>
diff --git a/resources/views/reports/tag/partials/top-expenses.blade.php b/resources/views/reports/tag/partials/top-expenses.blade.php
index 96742616f4..a8f8b60336 100644
--- a/resources/views/reports/tag/partials/top-expenses.blade.php
+++ b/resources/views/reports/tag/partials/top-expenses.blade.php
@@ -1,11 +1,11 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsort="disabled">{{ 'description'|_ }}</th>
- <th data-defaultsign="month">{{ 'date'|_ }}</th>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
+ <th data-defaultsort="disabled">{{ __('firefly.description') }}</th>
+ <th data-defaultsign="month">{{ __('firefly.date') }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
<th data-defaultsign="az">{{ 'tag'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.amount') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.amount') }}</th>
</tr>
</thead>
<tbody>
@@ -35,7 +35,7 @@
</a>
</td>
- <td data-value="{{ row.amount }}" class="text-right">
+ <td data-value="{{ row.amount }}" class="text-end">
{{ format_amount_by_symbol(row.amount, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/reports/tag/partials/top-income.blade.php b/resources/views/reports/tag/partials/top-income.blade.php
index d7e582c05b..24eca57f9a 100644
--- a/resources/views/reports/tag/partials/top-income.blade.php
+++ b/resources/views/reports/tag/partials/top-income.blade.php
@@ -1,11 +1,11 @@
<table class="table table-hover sortable">
<thead>
<tr>
- <th data-defaultsort="disabled">{{ 'description'|_ }}</th>
- <th data-defaultsign="month">{{ 'date'|_ }}</th>
- <th data-defaultsign="az">{{ 'account'|_ }}</th>
+ <th data-defaultsort="disabled">{{ __('firefly.description') }}</th>
+ <th data-defaultsign="month">{{ __('firefly.date') }}</th>
+ <th data-defaultsign="az">{{ __('firefly.account') }}</th>
<th data-defaultsign="az">{{ 'tag'|_ }}</th>
- <th data-defaultsign="_19" class="text-right">{{ __('firefly.amount') }}</th>
+ <th data-defaultsign="_19" class="text-end">{{ __('firefly.amount') }}</th>
</tr>
</thead>
<tbody>
@@ -35,7 +35,7 @@
</a>
</td>
- <td data-value="{{ row.amount }}" class="text-right">
+ <td data-value="{{ row.amount }}" class="text-end">
{{ format_amount_by_symbol(row.amount, row.currency_symbol, row.currency_decimal_places) }}
</td>
diff --git a/resources/views/transactions/old-index.blade.php b/resources/views/transactions/old-index.blade.php
index 59cf4db0bf..78c5856851 100644
--- a/resources/views/transactions/old-index.blade.php
+++ b/resources/views/transactions/old-index.blade.php
@@ -35,7 +35,7 @@
<div class="{{ boxSize }}">
<div class="card">
<div class="card-header">
- <h3 class="card-title">{{ 'budgets'|_ }}</h3>
+ <h3 class="card-title">{{ __('firefly.budgets') }}</h3>
</div>
<div class="card-body">
<canvas id="budget_chart" class="medium-chart" height="250"></canvas>