@extends('Backend.layouts.app') @section('content')

Edit Customers

@csrf
{{--
--}}
@php $selectedProducts = json_decode($customers->products ?? '[]', true); // Handle double-encoded JSON string like "[\"15\",\"16\"]" if (is_string($selectedProducts)) { $selectedProducts = json_decode($selectedProducts, true); } @endphp
Cancel
@endsection