larvel route name pass id to js function
// Adding id to route name in laravel in javascript
function quick_edit_modal(id){
let productDetailApiUrl = '{{ route("seller.product_detail", ":id") }}';
productDetailApiUrl = productDetailApiUrl.replace(':id', id);
}