@section('title', '- Your Transactions') @extends('layouts.user-profile') @section('breadcumb') @include('layouts.partials.breadcumb', ['page' => 'Transactions']) @endsection @section('section-body')
@lang("profile.date") | @lang("profile.type") | @lang("profile.fromwallet") | @lang("profile.amount") | @lang("profile.commission") | @lang("profile.amount_recive") | @lang("profile.status") | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
{{ date('Y-m-d', strtotime($transaction->created_at)) }} | {{ ucfirst($transaction->type) }} | @if ($transaction->currency_buy){{ $transaction->currency_buy->symbol }} | @elseif($transaction->type == 'discharge' || $transaction->type == 'trade')eBit | @elseUSD | @endif @if ($transaction->currency_buy){{ $transaction->total_to_paid }} | @else{{ number_format((float) $transaction->amount, 2, '.', '') }} | @endif{{ number_format((float) $transaction->fee, 2, '.', '') }} | @if ($transaction->type == 'discharge'){{ number_format((float) $transaction->total_ebits_equivalence, 2, '.', '') }} USD | @elseif($transaction->type == 'trade'){{ $transaction->currency_destination->cryptocoin ? number_format($transaction->trade_amount, 19) : $transaction->trade_amount }} {{ $transaction->currency_destination->symbol }} | @else{{ number_format((float) $transaction->total_ebits_equivalence, 2, '.', '') }} {{ $transaction->currency->symbol }} | @endif{{ ucfirst($transaction->status) }} |