@extends('admin.layouts.container') @section('css') @endsection @section('content')

{{$head ?? '' }}

@if($coupon ?? '' && $coupon->id) @method('PUT') @endif @csrf
{{--
--}} {{-- --}} {{-- --}} {{--
--}}
{{--
--}} {{-- @if(count($products))--}} {{-- @foreach($products as $product)--}} {{--
--}} {{--
--}} {{-- id, $couponProducts) ? 'checked' : ''}} type="checkbox" value="{{$product->id}}" class="custom-control-input" id="product_{{$product->id}}" name="product_id[]">--}} {{-- --}} {{--
--}} {{--
--}} {{-- @endforeach--}} {{-- @endif--}} {{--
--}}
@if($coupon ?? '' && $coupon->id)
@endif
@endsection @section('inner_js') @endsection