Remove edit and delete buttons from edit template view

This commit is contained in:
Marcus Moore 2023-12-21 13:13:28 -08:00
parent 4c62e8ade9
commit dc27e67b19
No known key found for this signature in database

View file

@ -36,7 +36,7 @@
{{ trans('general.customize_report') }} {{ trans('general.customize_report') }}
@endif @endif
</h2> </h2>
@if (request()->routeIs('report-templates.show') || request()->routeIs('report-templates.edit')) @if (request()->routeIs('report-templates.show'))
<div class="box-tools pull-right"> <div class="box-tools pull-right">
<a <a
href="{{ route('report-templates.edit', $reportTemplate) }}" href="{{ route('report-templates.edit', $reportTemplate) }}"