@extends('wallet.layouts.master') @section('title','Transactions') @section('page-css') @endsection @section('content')

Transactions

@if(Auth::user()->hasRole('Company')) @endif @foreach($transactions as $trans) @if(Auth::user()->hasRole('Company')) @endif @endforeach
UserTransaction id Type Amount USD Amount Coin Wallet id Wallet name Address Address label Confirmations Payment date
@if($trans->user)
{{ trim(($trans->user->fname ?? '').' '.($trans->user->lname ?? '')) ?: '—' }}
{{ $trans->user->email }}
@else — @endif
@if($trans->payment_id) @else — @endif @if($trans->type == 'Deposit') Deposit @else Withdrawal @endif {{ $trans->type == 'Deposit' ? '+' : '-' }} {{ $trans->amount }} {{ $trans->usd_amount }} {{ $trans->coin_short_name }} {{ $trans->wallet_id ?: '—' }} {{ $trans->wallet_name ?: '—' }} @if($trans->address) @else — @endif {{ $trans->address_label ?: '—' }} {{ $trans->confirmations }} {{ $trans->date ?: '—' }}
@endsection @section('script') @endsection