Skip to content

A free open source IT asset/license management system

Add 'Customize Report' title to page

Marcus Moore2b32ff091dc2
diff --git a/resources/views/reports/custom/accessory.blade.php b/resources/views/reports/custom/accessory.blade.php
index cb2f02bdc8..e805ffc711 100644
--- a/resources/views/reports/custom/accessory.blade.php
+++ b/resources/views/reports/custom/accessory.blade.php
@@ -47,7 +47,7 @@
<!-- Horizontal Form -->
<div class="box box-default">
<div class="box-header with-border">
- @if (request()->routeIs('reports/custom') || request()->routeIs('report-templates.show'))
+ @if (request()->routeIs('reports.custom.accessory', 'report-templates.show'))
<h2 class="box-title" style="padding-top: 7px;">
{{ trans('general.customize_report') }}
</h2>
diff --git a/resources/views/reports/custom/asset.blade.php b/resources/views/reports/custom/asset.blade.php
index af8693090f..c63eabea4f 100644
--- a/resources/views/reports/custom/asset.blade.php
+++ b/resources/views/reports/custom/asset.blade.php
@@ -47,7 +47,7 @@
<!-- Horizontal Form -->
<div class="box box-default">
<div class="box-header with-border">
- @if (request()->routeIs('reports/custom') || request()->routeIs('report-templates.show'))
+ @if (request()->routeIs('reports/custom', 'report-templates.show'))
<h2 class="box-title" style="padding-top: 7px;">
{{ trans('general.customize_report') }}
</h2>