@extends('admin.layouts.app') {{-- @push('style') @endpush --}} {{-- @section('pagetitlesection') @endsection --}} @section('content')
@foreach ($auctionList as $auction) @php if($auction->transactions?->first()?->status==1){ $status = 'Paid'; }elseif($auction->transactions?->first()?->status==2){ $status = 'Failed'; }else{ $status = 'pending'; } @endphp @endforeach
Auction Details Product Bid Amount Start Date End Date Payment Details Booking Status
{{ $auction->title }}
Participate : {{ $auction->total_bidders?$auction->total_bidders:0 }}
{{ $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)) : '' }} Payable Amount : {{ $auction->transactions?->first()?->ammount }}
Transaction Id : {{ $auction->transactions?->first()?->transaction_id }}
Payment Status : {{ $status }}
@if($type=="live") Live @elseif($type=="upcoming") Upcoming @elseif($type=="closed") Closed @else All @endif
@endsection @push('scripts') @endpush