@extends('layouts.dashboard') @section('content')
@if (Session::has('message'))
@endif
@php $route = route('global-parameter.edit-email-config',['id'=>$email->id]); @endphp @include('admin.global-parameters._form',['merchants'=>$merchants])
@php // JSON string $jsonString = $email->emails; // Remove brackets using trim $cleanString = trim($jsonString, '[]'); // Remove quotes using str_replace $cleanString = str_replace('"', '', $cleanString); @endphp
@endsection @push('scripts') @endpush