@extends('admin.layouts.app') @section('panel')
@if(request()->routeIs('admin.product.index')) @endif @forelse($products as $product) @if(request()->routeIs('admin.product.index')) @endif @empty @endforelse
@lang('S.N.') @lang('Name') @lang('Owner') @lang('Carbon Credit Amount') @lang('Total Bid')@lang('Status')@lang('Action')
{{ $products->firstItem() + $loop->index }} {{ __($product->name) }} @if($product->admin_id) @endif {{ __($product->merchant ? $product->merchant->fullname : $product->admin->name) }} {{ showAmount($product->carbon_amount) }} {{ $product->total_bid }} @if($product->status == 0 && $product->expired_at > now()) @lang('Pending') @elseif($product->status == 1 && $product->started_at < now() && $product->expired_at > now()) @lang('Live') @elseif($product->status == 1 && $product->started_at > now()) @lang('Upcoming') @else @lang('Expired') @endif
{{ __($emptyMessage) }}
@if ($products->hasPages()) @endif
{{-- APPROVE MODAL --}} @endsection @push('breadcrumb-plugins')
@lang('Add New')
@endpush @push('style') @endpush @push('script') @endpush