@php $details = isset($coupon) ? json_decode($coupon->details, true) : ''; $start = isset($coupon) ? date('Y-m-d', strtotime($coupon->start_date)) : ''; $end = isset($coupon) ? date('Y-m-d', strtotime($coupon->end_date)) : ''; @endphp

{{ __('locale.Product Base Coupon') }}

@if (is_array($details)) @foreach ($details as $key => $detail) @php $sub = $detail['category_id'] ?? null; $subc = $detail['subcategory_id'] ?? null; @endphp
parent_id != 0) style="display:none" @endif id="subcategory">

@endforeach @else

No details found.

@endif

@vite(['resources/assets/js/forms-pickers.js'])