@extends('core::layouts.master') @section('title') {{ trans_choice('wallet::general.transaction',1) }} {{ trans_choice('core::general.detail',2) }} @endsection @section('content')
{{ trans_choice('wallet::general.transaction',1) }} {{ trans_choice('core::general.detail',2) }}
@if(!empty($wallet_transaction->payment_detail)) @if(!empty($wallet_transaction->payment_detail->account_number)) @endif @if(!empty($wallet_transaction->payment_detail->cheque_number)) @endif @if(!empty($wallet_transaction->payment_detail->routing_code)) @endif @if(!empty($wallet_transaction->payment_detail->receipt)) @endif @if(!empty($wallet_transaction->payment_detail->bank_name)) @endif @if(!empty($wallet_transaction->payment_detail->description)) @endif @endif
{{ trans_choice('core::general.id',1) }} {{$wallet_transaction->id}}
{{ trans_choice('core::general.type',1) }} @if($wallet_transaction->transaction_type=='deposit') {{ trans_choice('wallet::general.deposit', 1) }} @endif @if($wallet_transaction->transaction_type=='withdrawal') {{ trans_choice('wallet::general.withdrawal', 1) }} @endif @if($wallet_transaction->transaction_type=='savings_transfer') {{ trans_choice('savings::general.savings', 1) }} {{ trans_choice('wallet::general.transfer', 1) }} @endif @if($wallet_transaction->transaction_type=='loan_transfer') {{ trans_choice('loan::general.loan', 1) }} {{ trans_choice('wallet::general.transfer', 1) }} @endif
{{ trans_choice('core::general.date',1) }} {{$wallet_transaction->submitted_on}}
{{ trans_choice('core::general.amount',1) }} {{number_format($wallet_transaction->amount,$wallet_transaction->wallet->decimals)}}
{{ trans_choice('core::general.payment',1) }} {{ trans_choice('core::general.detail',2) }}
{{ trans_choice('core::general.payment',1) }} {{ trans_choice('core::general.type',1) }} @if(!empty($wallet_transaction->payment_detail->payment_type)) {{$wallet_transaction->payment_detail->payment_type->name}} @endif
{{ trans_choice('core::general.account',1) }}# {{$wallet_transaction->payment_detail->account_number}}
{{ trans_choice('core::general.cheque',1) }}# {{$wallet_transaction->payment_detail->cheque_number}}
{{ trans_choice('core::general.routing_code',1) }} {{$wallet_transaction->payment_detail->routing_code}}
{{ trans_choice('core::general.receipt',1) }}# {{$wallet_transaction->payment_detail->receipt}}
{{ trans_choice('core::general.bank',1) }}# {{$wallet_transaction->payment_detail->bank_name}}
{{ trans_choice('core::general.description',1) }} {{$wallet_transaction->payment_detail->description}}
@endsection @section('scripts') @endsection