@extends('layouts.app') @section('content')

Pending Transactions

Reset
@forelse($transactions as $transaction) @empty @endforelse
Date Type Agent Target Currency Total Quantity Calculated Rate Payment Amount Actions
{{ $transaction->created_at->format('Y-m-d H:i') }} {{ $transaction->type }} (Pending) {{ optional($transaction->agent)->name ?? '-' }} {{ $transaction->currency->code }} {{ number_format((float) $transaction->quantity + (float) $transaction->handling_fee, 4) }} {{ $transaction->currency->code }} {{ number_format((float) $transaction->rate, 4) }} {{ number_format((float) $transaction->payment_amount, 4) }} {{ optional($transaction->paymentCurrency)->code }}
@csrf
@if($transaction->type === 'buy') Edit @elseif($transaction->type === 'sell') Edit @endif
@csrf @method('DELETE')
No pending transactions found.
@endsection