{{__('admin.Pending Products')}}
{{__('admin.Add New')}}
@endsection
{{__('admin.SN')}} | {{__('admin.Name')}} | {{__('admin.Total Sale')}} | {{__('admin.Category')}} | {{__('admin.Status')}} | {{__('admin.Action')}} |
---|---|---|---|---|---|
{{ ++$index }} | {{ html_decode($product->productlangadmin->name) }} | @php $total_sold=App\Models\OrderItem::where('Product_id', $product->id)->get()->count(); @endphp{{ $total_sold }} | {{ $product->category->catlangadmin->name }} | @if($product->status == 1) {{__('admin.Active')}} @else {{__('admin.Pending')}} @endif | @php $order_item = App\Models\OrderItem::where('product_id', $product->id)->first(); @endphp @if ($order_item) @else @endif |