From 5afb369ef559edb7bececefd5ffb9af65994a6f7 Mon Sep 17 00:00:00 2001 From: Sevan Nerse Date: Sat, 11 Jul 2020 09:40:45 +0300 Subject: [PATCH 1/5] tooltip feature is added to rows of reports --- resources/views/partials/reports/show.blade.php | 4 ++++ resources/views/partials/reports/table/rows.blade.php | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/resources/views/partials/reports/show.blade.php b/resources/views/partials/reports/show.blade.php index e5d9de068..69735da9e 100644 --- a/resources/views/partials/reports/show.blade.php +++ b/resources/views/partials/reports/show.blade.php @@ -13,3 +13,7 @@ @include($class->views['content']) @endsection + +@push('scripts_start') + +@endpush \ No newline at end of file diff --git a/resources/views/partials/reports/table/rows.blade.php b/resources/views/partials/reports/table/rows.blade.php index 35f8c5cfc..f2a060a27 100644 --- a/resources/views/partials/reports/table/rows.blade.php +++ b/resources/views/partials/reports/table/rows.blade.php @@ -1,6 +1,14 @@ @if ($row_total = array_sum($rows)) - {{ $class->row_names[$table][$id] }} + + + {{ $class->row_names[$table][$id] }} + + @foreach($rows as $row) @money($row, setting('default.currency'), true) @endforeach From 14f8ae464dd7ce4704c10c3b530759808dbd0b6d Mon Sep 17 00:00:00 2001 From: Sevan Nerse Date: Sat, 11 Jul 2020 10:32:54 +0300 Subject: [PATCH 2/5] empty line is added at the end of show.blade.php --- resources/views/partials/reports/show.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/partials/reports/show.blade.php b/resources/views/partials/reports/show.blade.php index 69735da9e..a6db4a9ff 100644 --- a/resources/views/partials/reports/show.blade.php +++ b/resources/views/partials/reports/show.blade.php @@ -16,4 +16,4 @@ @push('scripts_start') -@endpush \ No newline at end of file +@endpush From b341d68c0dea5adc8d7f9b2939027cbc1f1d6b4c Mon Sep 17 00:00:00 2001 From: Sevan Nerse Date: Sat, 11 Jul 2020 13:00:15 +0300 Subject: [PATCH 3/5] tooltip feature is added to widgets --- .../views/partials/widgets/standard_header.blade.php | 10 +++++++++- resources/views/widgets/latest_expenses.blade.php | 10 +++++++++- resources/views/widgets/latest_income.blade.php | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/resources/views/partials/widgets/standard_header.blade.php b/resources/views/partials/widgets/standard_header.blade.php index 986728f56..9285156f1 100644 --- a/resources/views/partials/widgets/standard_header.blade.php +++ b/resources/views/partials/widgets/standard_header.blade.php @@ -3,7 +3,15 @@
-

{{ $class->model->name }}

+

+ + {{ $class->model->name }} + +

@endsection - -@push('scripts_start') - -@endpush diff --git a/resources/views/partials/reports/table/rows.blade.php b/resources/views/partials/reports/table/rows.blade.php index f2a060a27..85f4a91b6 100644 --- a/resources/views/partials/reports/table/rows.blade.php +++ b/resources/views/partials/reports/table/rows.blade.php @@ -1,14 +1,6 @@ @if ($row_total = array_sum($rows)) - - - {{ $class->row_names[$table][$id] }} - - + {{ $class->row_names[$table][$id] }} @foreach($rows as $row) @money($row, setting('default.currency'), true) @endforeach From 7afc34ef116f989fc5871af8655e7f034dc78240 Mon Sep 17 00:00:00 2001 From: Sevan Nerse Date: Sun, 12 Jul 2020 18:22:55 +0300 Subject: [PATCH 5/5] tooltip feature is finalized for widgets --- .../views/partials/widgets/standard_header.blade.php | 10 +--------- resources/views/widgets/latest_expenses.blade.php | 10 +--------- resources/views/widgets/latest_income.blade.php | 10 +--------- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/resources/views/partials/widgets/standard_header.blade.php b/resources/views/partials/widgets/standard_header.blade.php index 9285156f1..4c38851d0 100644 --- a/resources/views/partials/widgets/standard_header.blade.php +++ b/resources/views/partials/widgets/standard_header.blade.php @@ -3,15 +3,7 @@
-

- - {{ $class->model->name }} - -

+

{{ $class->model->name }}