@extends('admin.layouts.layout') @section('content') @php $isEdit = isset($template) && $template->exists; $tenant_id = session('tenant_id'); @endphp
@csrf @if($isEdit) @method('PATCH') @endif @if($show_tenant_dropdown ?? false)
@error('tenant_id')
{{ $message }}
@enderror
@else @if($isEdit && isset($template->tenant_id)) @else @endif @endif
Maximum 50 characters
@error('template_name')
{{ $message }}
@enderror
status : true) ? 'checked' : '' }}>
Active templates are available for use
Maximum 255 characters
@error('subject')
{{ $message }}
@enderror
Select the language for this template
@error('master_language_id')
{{ $message }}
@enderror
@error('template_content')
{{ $message }}
@enderror
Available Placeholders
Customer Information:
  • @{{customer_name}} - Customer full name
  • @{{customer_first_name}} - Customer first name
  • @{{customer_email}} - Customer email
  • @{{customer_phone}} - Customer phone
  • @{{customer_address}} - Customer address
Inspection Details:
  • @{{inspection_date}} - Scheduled date
  • @{{inspection_time}} - Scheduled time
  • @{{property_address}} - Property address
  • @{{inspector_name}} - Inspector name
  • @{{inspection_type}} - Type of inspection
Company Information:
  • @{{company_name}} - Company name
  • @{{company_phone}} - Company phone
  • @{{company_email}} - Company email
  • @{{company_address}} - Company address
  • @{{website_url}} - Website URL
Report Information:
  • @{{report_link}} - Link to report
  • @{{report_number}} - Report number
  • @{{report_date}} - Report generation date
Cancel
@endsection @push('page_script') @endpush