@extends('backend.layouts.app') @section('content')

{{ translate('Restored Product') }}

{{ translate('Products') }}
Selected Products (0)
{{-- --}} @if ($listProducts->count() > 0) @foreach ($listProducts as $key => $seller) @php if ($seller->published == 1) { $class = 'pending'; $approve_class = 'open-approveCate-modal'; } elseif ($seller->published == 4) { $class = 'reject'; $approve_class = 'open-approveCate-modal'; } elseif ($seller->published == 3) { $class = 'publish'; $approve_class = 'open-approveCate-modal'; } else { $class = 'draft'; $approve_class = ''; } @endphp {{-- --}} {{-- --}} {{-- --}} @endforeach @else @endif
S.No. {{ translate('Product/Post ID') }} {{ translate('Product Name') }} {{ translate('User Name') }} {{ translate('Category') }} {{ translate('Product Type') }} {{ translate('Availability') }} {{ translate('Price') }} {{ translate('Model No.') }} {{ translate('Created On') }} {{ translate('Restored On') }} {{ translate('Status') }}
{{ $key + 1 + ($listProducts->currentPage() - 1) * $listProducts->perPage() }} {{ $seller->unique_number ?? 'N/A' }}
{{ $seller->product_name ?? 'N/A' }}
{{ $seller->name ?? 'N/A' }} {{ $seller->category_name ?? 'N/A' }} @if ($seller->product_type == 'simple') {{ ucwords(str_replace('_', ' ', $seller->product_type)) }} @elseif($seller->product_type == 'configured') {{ ucwords(str_replace('_', ' ', 'configured')) }} @else N/A @endif @if ($seller->availability == 'in_stock') {{ ucwords(str_replace('_', ' ', $seller->availability)) }} @elseif($seller->availability == 'by_order') {{ ucwords(str_replace('_', ' ', $seller->availability)) }} @else N/A @endif @if ($seller->unit_price) {{ \App\Models\Currency::where('id', $seller->currency_id)->value('symbol') ?? 'N/A' }} {{ $seller->unit_price ?? 'N/A' }} @else N/A @endif {{ $seller->model_number ?? 'N/A' }} {{ \Carbon\Carbon::parse($seller->created_at)->format('Y-m-d h:i A') }} {{ \Carbon\Carbon::parse($seller->is_restored)->format('Y-m-d h:i A') }}
@if (!empty(request()->search))

No result found

@else

No data added yet

@endif
Total Restored Product(s): {{ $listProducts->total() }}
{{ $listProducts->appends(request()->input())->links() }}
@endsection @section('modal') @include('modals.delete_modal') @endsection @section('script') @endsection