@extends('backend.layouts_backend.master2') @section('title') Searched Products @endsection @section('content') {{-- header --}}

Products Found ({{ $searched_products_count ?? 0 }})

{{-- end header --}} {{-- search form --}}
@csrf

{{ $searched_data_string ?? '' }}


{{-- end search form --}}
{{-- alert add item --}} @if (session('messagesave')) {{--
{{ session('message')}}
--}} @endif {{-- alert delete item --}} @if (session('messagedelete')) {{--
{{ session('messagedelete')}}
--}} @endif {{-- alert update item --}} @if (session('messageupdate')) @endif
{{-- --}} @if (is_array($product_create_form_fields_values)) @if (in_array(4, $product_create_form_fields_values ?? '')) @endif @endif @if (is_array($product_create_form_fields_values)) @if (in_array(2, $product_create_form_fields_values ?? '')) @endif @endif @if (is_array($product_create_form_fields_values)) @if (in_array(6, $product_create_form_fields_values ?? '')) @endif @endif @foreach ($searched_products as $key => $product) {{-- --}} @php $product_image_decoded = isset($product->product_image) ? json_decode($product->product_image) : null; $product_gallery_decoded = isset($product->product_image_gallery) ? json_decode($product->product_image_gallery) : null; @endphp @if (is_array($product_create_form_fields_values)) @if (in_array(4, $product_create_form_fields_values ?? '')) @endif @endif {{-- --}} {{-- --}} {{-- --}} {{-- --}} @if (is_array($product_create_form_fields_values)) @if (in_array(2, $product_create_form_fields_values ?? '')) @endif @endif @if (is_array($product_create_form_fields_values)) @if (in_array(6, $product_create_form_fields_values ?? '')) @endif @endif {{-- view details modal --}} {{-- end of view modal --}} @endforeach
#Id Product Code NameCategoryBranchImage StatusProduct StockStock AlertCreated By Action
{{ $key + 1 ?? '' }} {{ $product->product_code ?? '' }} {{ $product->product_name ?? '' }}{{ $product->product_category->product_category_name ?? '' }}{{ $product->branch->branch_name ?? '' }} preview {{ $product->product_image ?? '' }}{{ $product->product_image_gallery ?? '' }}{{ $product->product_cost_price ?? '' }}{{ $product->product_selling_price ?? '' }} @if ($product->product_status == '1') Active @else In Active @endif {{ $product->product_stock_quantity ?? '' }}{{ $product->product_stock_alert ?? '' }} {{ $users[$product->created_by] ?? '' }}
@if (Auth::user()->can('product-show')) @endif @if (Auth::user()->can('product-edit')) @endif @if (Auth::user()->can('product-delete'))
@csrf @method('DELETE')
@endif

{{-- paginate --}}
{{ $searched_products->appends(Request::except('page'))->links() }}
@endsection @section('extra_scripts') {{-- search dynamic javascript --}} {{-- end of dynamic search javascript --}} @endsection