@extends('admin.layouts.layout') @section('content') @include('admin.report-templates.template_header') @if(session()->has('selected_section_id')) @include('admin.report-templates.services.service_header')
@include('admin.report-templates.services.service_item_type')
@php $selectedSectionId = session('selected_section_id') ?? ($current_section_id ?? null); $dynamicItemTypeTabs = \App\Helpers\Helper::getSectionItemTypeTabs($selectedSectionId); @endphp @if($dynamicItemTypeTabs->count()) @foreach($dynamicItemTypeTabs as $idx => $tab) @php $safeItemTypeId = $tab->item_type_id === 'default' ? 'default' : $tab->item_type_id; $paneId = 'itemtype-'.$safeItemTypeId.'-pane'; @endphp
Loading...
@endforeach @else
Loading...
@endif
@endif @endsection @push('page_script') @endpush