@extends('admin.layouts.app') {{-- @push('style') @endpush --}} {{-- @section('pagetitlesection') @endsection --}} @section('content')

Seller Transactions

{{-- Add Seller --}}
@foreach ($auctions as $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 @php if ($auction->transactions?->first()?->status == 1) { $status = 'Paid'; } elseif ($auction->transactions?->first()?->status == 2) { $status = 'Failed'; } else { $status = 'pending'; } @endphp @endforeach
Image Name Email Phone Auction Details Payment Details
Icon 01 {{ $auction->user?->full_name }} {{ $auction->user?->email }} {{ $auction->user?->mobile_number ?? '--' }} {{ $auction->title }}
Participate : {{ $auction->total_bidders ? $auction->total_bidders : 0 }}
Start Date/Time : {{ $auction->start_date ? date('d-m-Y h:i s', strtotime($auction->start_date)) : '' }}
End Date/Time : {{ $auction->end_date ? date('d-m-Y h:i s', strtotime($auction->end_date)) : '' }}
Product : {{ $auction->product?->name }}
Bid Price : {{ $auction->bid_amount }}
Booking Status : {{ $type }}
Payable Amount : {{ $auction->transactions?->first()?->ammount }}
Transaction Id : {{ $auction->transactions?->first()?->transaction_id }}
Payment Status : {{ $status }}
@endsection @push('scripts') @endpush