From 6f9e6477a88cc8e2dfcd33cd5e727d47fce22b63 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Wed, 13 Dec 2017 02:21:32 +0300 Subject: [PATCH] more styling #141 --- resources/lang/en-GB/general.php | 1 + resources/lang/en-GB/reports.php | 6 ++ .../views/dashboard/dashboard/index.blade.php | 56 +++++++++++-------- 3 files changed, 41 insertions(+), 22 deletions(-) diff --git a/resources/lang/en-GB/general.php b/resources/lang/en-GB/general.php index f396668e5..e01c7aa6f 100644 --- a/resources/lang/en-GB/general.php +++ b/resources/lang/en-GB/general.php @@ -50,6 +50,7 @@ return [ 'na' => 'N/A', 'daily' => 'Daily', 'monthly' => 'Monthly', + 'quarterly' => 'Quarterly', 'yearly' => 'Yearly', 'add' => 'Add', 'add_new' => 'Add New', diff --git a/resources/lang/en-GB/reports.php b/resources/lang/en-GB/reports.php index 9ab31ca35..8589c7b9f 100644 --- a/resources/lang/en-GB/reports.php +++ b/resources/lang/en-GB/reports.php @@ -2,6 +2,12 @@ return [ + 'this_year' => 'This Year', + 'previous_year' => 'Previous Year', + 'this_quarter' => 'This Quarter', + 'previous_quarter' => 'Previous Quarter', + 'last_12_months' => 'Last 12 Months', + 'summary' => [ 'income' => 'Income Summary', 'expense' => 'Expense Summary', diff --git a/resources/views/dashboard/dashboard/index.blade.php b/resources/views/dashboard/dashboard/index.blade.php index c8f867297..2563bb137 100644 --- a/resources/views/dashboard/dashboard/index.blade.php +++ b/resources/views/dashboard/dashboard/index.blade.php @@ -71,8 +71,8 @@

{{ trans('dashboard.cash_flow') }}

-    -    +    +   
@@ -90,7 +90,7 @@
-
+

{{ trans('dashboard.incomes_by_category') }}

@@ -102,7 +102,9 @@ {!! $donut_incomes->render() !!}
+
+

{{ trans('dashboard.expenses_by_category') }}

@@ -115,9 +117,11 @@
+
+
+
-

{{ trans('dashboard.account_balance') }}

@@ -142,8 +146,10 @@ @endif
+
- + +

{{ trans('dashboard.latest_incomes') }}

@@ -176,8 +182,10 @@ @endif
+
- + +

{{ trans('dashboard.latest_expenses') }}

@@ -214,18 +222,22 @@
@endsection +@push('css') + +@endpush + @push('js') {!! Charts::assets() !!} - - - - - + + + @endpush @push('scripts')