@extends('layouts.engine') @section('content')
@if($wlt == 'binancecoin') Binance Coin @else {{ $wlt }} @endif Wallet /
Available Balance
USD
Balance in {{ number_format($amt,5) }} {{$sym}}
  • Send
  • Receive
  • Sell
Total Sent
@if($sent == 0) 0.00 @else {{ number_format($sent, 5) }} @endif {{ $sym }}
Total Received
{{--
20.001500 BTC
--}}
@if($received == 0) 0.00 @else {{ number_format($received, 5) }} @endif {{ $sym }}
@isset($trans[0]->user_id) Last Transaction {{ $trans[count($trans)-1]['created_at']->diffForHumans() }} @endisset @empty($trans[0]->user_id) No Last Transaction @endempty
Transaction History
@isset($trans[0]->user_id)
@foreach($trans as $tran)
@if($tran->trans_name == 'Received') @else @endif
{{ $tran->trans_name }}
@if($tran->trans_name == 'Received') From: @else To: @endif {{ $tran->address }}
@if($tran->status == 1)

Pending

@endif
{{ number_format($tran->amount, 5) }} {{ $sym }}
{{ number_format($tran->amount * $amount, 2) }}USD
@endforeach
@else @endisset @empty($trans[0]->user_id) Your transactions will appear here @endempty
@endsection @section('scriptf') let btc = data.bitcoin.usd * {{ $amt }}; let eth = data.ethereum.usd * {{ $amt }}; let sol = data.solana.usd * {{ $amt }}; let dog = data.dogecoin.usd * {{ $amt }}; let xrp = data.ripple.usd * {{ $amt }}; let bnb = data.binancecoin.usd * {{ $amt }}; let ada = data.cardano.usd * {{ $amt }}; let dot = data.polkadot.usd * {{ $amt }}; let ltc = data.litecoin.usd * {{ $amt }}; document.getElementById('amount').innerText += {{$sym}}.toLocaleString(undefined, {maximumFractionDigits: 2}); @endsection