@extends('admin.layouts.app') {{-- @push('style') @endpush --}} {{-- @section('pagetitlesection') @endsection --}} @section('content')
{{-- --}}
Export
{{-- @foreach ($auctions as $key_all => $auction) @php $currentDateTime = date("Y-m-d H:i:s"); if(($auction->start_date <= $currentDateTime) && ($auction->end_date >= $currentDateTime)){ $type="live"; }elseif(($auction->start_date >= $currentDateTime) ){ $type="upcoming"; } elseif($auction->end_date<$currentDateTime) { $type="closed" ; } @endphp @endforeach --}}
Auction Name Product Bid Price Start End Status
{{$auction->title}}
{{$auction->total_bidders?$auction->total_bidders:0}} Participated
{{$auction->product?->name}} ${{$auction->bid_amount}} {{$auction->start_date ? date('d-m-Y h:i s',strtotime($auction->start_date)) : '' }} {{$auction->end_date ? date('d-m-Y h:i s',strtotime($auction->end_date)) : '' }} {{$type}}
@endsection @push('scripts') @endpush