@extends('layouts.app', ['activePage' => 'offers_products', 'titlePage' => __('')]) @section('content')

{{ __("jamia.product") }}

{{--
--}} {{-- --}} {{--
--}}
{{-- --}} {{-- --}} @foreach ($products as $product) {{-- --}} {{-- --}} @endforeach
{{__("jamia.sl_no")}} {{__("jamia.name")}}{{__("jamia.Category")}}{{__("jamia.SubCategory")}}{{__("jamia.price")}} {{__("jamia.image")}} {{__("jamia.status")}} {{__("jamia.action") }}
{{ $i++; }} {{ $product->name }}{{app()->getLocale() == 'ar' ? \App\Models\Category::where('id' , $product->parent_category)->first()?->category_arabic : \App\Models\Category::where('id' , $product->parent_category)->first()?->category_english}}{{app()->getLocale() == 'ar' ? \App\Models\Category::where('id' , $product->categories_id)->first()?->category_arabic : \App\Models\Category::where('id' , $product->categories_id)->first()?->category_english}}{{ number_format($product->price, 3) }} image @if($product->Is_active == 'W') Waiting For Approval @elseif($product->Is_active == 'Y') Active @elseif($product->Is_active == 'N') In Active @else Cancel @endif @if($product->Is_active == 'Y' || $product->Is_active == 'N') Is_active == 'Y') checked @endif> @endif
@endsection @section('js') @endsection