@extends('layouts.dash2') @section('title', $title) @section('content')
@include('partials._mobile_header', [ 'title' => 'Currency Swap', 'showBackButton' => true, 'backUrl' => route('dashboard'), 'showNotifications' => true, 'showDarkMode' => true, 'financeUser' => Auth::user() ])

Current Balances

{{ $user->curr }} Balance
{{ $user->s_curr }}{{ number_format($user->account_bal, 2, '.', ',') }}
Bitcoin Balance
{{ number_format($user->btc_balance ?? 0, 8, '.', ',') }} BTC

Current Exchange Rate

1 BTC = {{ $user->s_curr }}{{ number_format($btc_rate, 2, '.', ',') }} {{ $user->curr }}
@csrf

Destination currency is automatically selected

{{ $user->curr }}

Enter the amount you want to swap

Enter an amount to see conversion
@endsection