{{-- Header Section
{{ __('t.dashboard') }} {{ __('t.swap_history') }}
--}} {{-- Transaction List --}}
@forelse($transactions as $tran)
{{-- Swap Details --}}
{{ __('t.from') }} {{ $tran->source }}
{{ __('t.to') }} {{ $tran->dest }}
{{-- Amount Details --}}
{{ __('t.amount') }}
@if($tran->source == __('t.account_balance')) {{ Number::currency(floatval($tran->amount), $settings->s_currency) }} @else {{ round(floatval($tran->amount), 8) }} {{ $tran->source }} @endif
{{ __('t.received') }}
@if($tran->dest == __('t.account_balance')) {{ Number::currency(floatval($tran->quantity), $settings->s_currency) }} @else {{ round(floatval($tran->quantity), 8) }} {{ $tran->dest }} @endif
@empty

{{ __('t.no_swaps_yet') }}

{{ __('t.swap_history_empty_message') }}

@endforelse {{-- Pagination --}}
{{ $transactions->links() }}