@include('dashboard.includes.alerts.success')
@include('dashboard.includes.alerts.errors')
@if ($offer->id)
@php
// $meta = \App\Models\MetaData::where('page_type', 'treatments')->first(); // Execute the query and fetch the first result
$meta = \App\Models\MetaData::getMeta('offers', $offer->id);
// dump($meta); // Debugging: Check if meta is null or contains data
@endphp
@include('dashboard.meta_data._forms', [
'pageType' => 'offers',
'pageId' => $offer->id,
'meta' => $meta,
])
@endif