@extends('Admin.Views.edit') @include('tourism::sidebar') @section('editform') @php if (! isset($data)) { $old = old(); if (! empty($old)) { $data = $old; } else { $data = []; } } @endphp @php $provider_sale = []; if (isset($data["providers"])) { foreach ($data["providers"] as $provider) { $provider_sale[] = $provider["id"]; } } @endphp @if (isset($data['id'])) @endif
@endsection