@extends('customer') @section('title', 'Quick Currency Exchange') @section('content') {{--
--}}

Quick Currency Exchange

Exchange currencies instantly at competitive rates with just a few clicks.

{{-- Start Trading --}}

Today's Exchange Rates

Updated every 5 minutes from international markets

@foreach ($currencies as $currency) @endforeach
Currency Buy Rate Sell Rate
{{ $currency->currency_pair }} {{ number_format($currency->buy_rate, 0, ',', '.') }} {{ number_format($currency->sell_rate, 0, ',', '.') }}
Quick Currency Exchange
@csrf
@foreach ($currencies as $currency) @endforeach

Buy Rate: 0

Sell Rate: 0

You'll Get (approx): 0

@if (auth()->check()) @else @endif
@if (auth()->check())

Your Transaction History

@foreach ($transactions as $transaction) @endforeach
Date Currency Amount Kurs Total Received Transfer to Transfer Time Delivery Method Status Action
{{ $transaction->created_at->format('d-m-Y H:i') }} {{ $transaction->currency ?? '-' }} {{ number_format($transaction->amount, 2, ',', '.') }} {{ number_format($transaction->kurs, 2, ',', '.') }} {{ number_format($transaction->total_received, 2, ',', '.') }} {{ $transaction->transferAccount->bank_name . ' - ' . $transaction->transferAccount->rekening . ' - ' . $transaction->transferAccount->nama_rekening }} {{ $transaction->transfer_time }} {{ $transaction->delivery_method }} {{ ucfirst($transaction->status) }} @if ($transaction->status == 'pending')
@csrf @method('PATCH')
@else no action @endif
@endif @if (session('success')) @push('scripts') @endpush @endif @if (session('error')) @push('scripts') @endpush @endif @endsection