@extends('layouts.master') @section('title') {{ trans_choice('general.transaction',1) }} {{ trans_choice('general.detail',2) }} @endsection @section('content')

{{ trans_choice('general.transaction',1) }} {{ trans_choice('general.detail',2) }}

@if(Sentinel::hasAccess('users.create')) @endif
@if(!empty($savings_transaction->payment_detail)) @if(!empty($savings_transaction->payment_detail->type)) @endif @if(!empty($savings_transaction->payment_detail->account_number)) @endif @if(!empty($savings_transaction->payment_detail->cheque_number)) @endif @if(!empty($savings_transaction->payment_detail->routing_code)) @endif @if(!empty($savings_transaction->payment_detail->receipt_number)) @endif @if(!empty($savings_transaction->payment_detail->bank)) @endif @endif
{{trans_choice('general.id',1)}} {{$savings_transaction->id}}
{{trans_choice('general.type',1)}} @if($savings_transaction->transaction_type=='deposit') {{trans_choice('general.deposit',1)}} @endif @if($savings_transaction->transaction_type=='withdrawal') {{trans_choice('general.withdrawal',1)}} @endif @if($savings_transaction->transaction_type=='bank_fees') {{trans_choice('general.bank',1)}} {{trans_choice('general.fee',2)}} @endif @if($savings_transaction->transaction_type=='specified_due_date_fee') {{trans_choice('general.bank',1)}} {{trans_choice('general.fee',2)}} @endif @if($savings_transaction->transaction_type=='interest') {{trans_choice('general.interest',1)}} @endif @if($savings_transaction->transaction_type=='dividend') {{trans_choice('general.dividend',1)}} @endif @if($savings_transaction->transaction_type=='guarantee_restored') {{trans_choice('general.guarantee_restored',2)}} @endif @if($savings_transaction->transaction_type=='fees_payment') {{trans_choice('general.fee',2)}} {{trans_choice('general.payment',1)}} @endif @if($savings_transaction->transaction_type=='transfer_loan') {{trans_choice('general.transfer',1)}} {{trans_choice('general.loan',1)}} @endif @if($savings_transaction->transaction_type=='transfer_savings') {{trans_choice('general.transfer',1)}} {{trans_choice('general.savings',2)}} @endif @if($savings_transaction->reversed==1) @if($savings_transaction->reversal_type=="user") ({{trans_choice('general.user',1)}} {{trans_choice('general.reversed',1)}} ) @endif @if($savings_transaction->reversal_type=="system") ({{trans_choice('general.system',1)}} {{trans_choice('general.reversed',1)}} ) @endif @endif
{{trans_choice('general.date',1)}} {{$savings_transaction->date}}
{{trans_choice('general.amount',1)}} @if($savings_transaction->credit>$savings_transaction->debit) {{number_format($savings_transaction->credit,2)}} @else {{number_format($savings_transaction->debit,2)}} @endif
{{trans_choice('general.note',2)}} {{$savings_transaction->notes}}
{{trans_choice('general.payment',1)}} {{trans_choice('general.detail',2)}}
{{trans_choice('general.payment',1)}} {{trans_choice('general.type',1)}} {{$savings_transaction->payment_detail->type->name}}
{{trans_choice('general.account',1)}}# {{$savings_transaction->payment_detail->account_number}}
{{trans_choice('general.cheque',1)}}# {{$savings_transaction->payment_detail->cheque_number}}
{{trans_choice('general.routing_code',1)}}# {{$savings_transaction->payment_detail->routing_code}}
{{trans_choice('general.receipt',1)}}# {{$savings_transaction->payment_detail->receipt_number}}
{{trans_choice('general.bank',1)}}# {{$savings_transaction->payment_detail->bank}}
@endsection @section('footer-scripts') @endsection