diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php index 40261e84b6..737c51a4b9 100644 --- a/resources/views/reports/custom.blade.php +++ b/resources/views/reports/custom.blade.php @@ -7,8 +7,19 @@ @stop @section('header_right') - - {{ trans('general.back') }} + @if (request()->routeIs('report-templates.edit')) + + {{ trans('general.back') }} + + @elseif(request()->routeIs('report-templates.show')) + + {{ trans('general.back') }} + + @else + + {{ trans('general.back') }} + + @endif @stop