View Products

{{ request()->has('edit') ? "Edit Product" : "Add new Product" }}
@csrf() @if( request()->has('edit')) @endif
{{--
--}}

@if ( $product ?? '') is_published() ) checked @endif value="published" class='mouse_pointer' id="active">   is_published() ) checked @endif value="unpublished" class='mouse_pointer' id="suspended"> @else   @endif