@extends('layouts.app') @section('title', $pageTitle ?? 'My Transactions') @push('styles') @endpush @section('content') {{-- Page Title --}}
| ID | Title | Role | Counterparty | Amount | Status | Created | Action |
|---|---|---|---|---|---|---|---|
| ESC-{{ str_pad($txn->id, 5, '0', STR_PAD_LEFT) }} | {{ Str::limit($txn->title, 35) }} | {{ $txn->buyer_id === auth()->id() ? 'Buyer' : 'Seller' }} | {{ $txn->getCounterparty(auth()->id())?->name ?? 'N/A' }} | {{ $currency ?? '₦' }}{{ number_format($txn->amount, 2) }} | {{ ucfirst($txn->status) }} | {{ $txn->created_at->format('M d, Y') }} | View |
{{ request()->hasAny(['status', 'search', 'date_from', 'date_to']) ? 'Try adjusting your filters.' : 'Create your first escrow transaction to get started.' }}
@unless(request()->hasAny(['status', 'search', 'date_from', 'date_to'])) Create Escrow @endunless