From 9f56791e3a130d2d75b73df03f232712f8e6f07d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 7 Mar 2017 20:48:01 +0200 Subject: [PATCH] Clarify that reports require a pro plan --- resources/lang/en/texts.php | 1 + resources/views/reports/chart_builder.blade.php | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index b797bc5711..38fb27b48f 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2395,6 +2395,7 @@ $LANG = array( 'create_project' => 'Create project', 'create_vendor' => 'Create vendor', 'create_expense_category' => 'Create category', + 'pro_plan_reports' => ':link to enable reports by joining the Pro Plan', ); diff --git a/resources/views/reports/chart_builder.blade.php b/resources/views/reports/chart_builder.blade.php index 6c18317696..2a2b62f8d5 100644 --- a/resources/views/reports/chart_builder.blade.php +++ b/resources/views/reports/chart_builder.blade.php @@ -21,6 +21,14 @@ @section('content') + @if (!Utils::isPro()) +
+
+ {!! trans('texts.pro_plan_reports', ['link'=>'' . trans('texts.pro_plan_remove_logo_link') . '']) !!} +
+
+ @endif +