@extends('admin.layouts.layout') @section('css') @endsection @section('content')

Template Details

Back to List @if($permission['edit']) Edit Template @endif
Basic Information
Template Name
{{ $row->name }}
Status
{{ $row->is_active ? 'Active' : 'Inactive' }}
Template Type
{{ ucfirst($row->template_type) }}
Structure Type
{{ ucfirst(str_replace('_', ' ', $row->structure_type)) }}
@if($row->tenant)
Tenant
{{ $row->tenant->name }}
@endif
Created Date
{{ $row->created_at->format('M d, Y h:i A') }}
Last Updated
{{ $row->updated_at->format('M d, Y h:i A') }}
Associated Services
@if($row->templateServices->count() > 0)
Total Services: {{ $row->templateServices->count() }}
@foreach($row->templateServices as $templateService) @if($templateService->service)
{{ $templateService->service->service_name }}
@if($templateService->service->description)
{{ Str::limit($templateService->service->description, 100) }}
@endif
{{ ucfirst($templateService->service->service_type) }} {{ ucfirst($templateService->service->fee_type) }}
@endif @endforeach
@else

No services associated with this template.

@endif
Quick Actions
@if($permission['edit']) Edit Template @endif @if($permission['destroy']) @endif @if($permission['edit']) @endif
@endsection @section('js') @endsection