@extends('merchant.layouts.app') @section('panel')
@forelse($products as $product) @empty @endforelse
@lang('S.N.') @lang('Name') @lang('Category') @lang('Carbon Credit Amount') @lang('Total Bid') @lang('Status') @lang('Action')
{{ $products->firstItem() + $loop->index }} {{ __($product->name) }} {{ __($product->category->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
@endsection @push('breadcrumb-plugins')
@lang('Add New')
@endpush @push('style') @endpush