@extends('admin.layouts.app') @section('panel') @include('admin.components.tabs.product')
@forelse ($pendingProducts as $item) @empty @endforelse
@lang('Product Name') @lang('Category') @lang('Author') @lang('Image') @lang('Price') @lang('Discount Price') @lang('Status') @lang('Action')
{{__($item->name)}} {{__($item->category->name)}} @if($item->user) {{__($item->user->username)}} @else @lang('Admin') @endif Image {{__($general->cur_sym)}} {{__(showAmount($item->price))}} @if(isset($item->discount)) {{__($item->discount)}}% @else @lang('No') @endif @php echo $item->statusBadge($item->status); @endphp
{{__($emptyMessage) }}
@if ($pendingProducts->hasPages()) @endif
{{-- REJECT MODAL --}} @endsection @push('breadcrumb-plugins') @lang('Back') @endpush @push('script') @endpush