@extends('layouts.app') @section('css') @endsection @section('content')
@if (!empty($fetchData->paymentMethod) && $fetchData->paymentMethod->name == "Bank")
Bank : {{ !empty($fetchData->account) ? $fetchData->account->bank_name : '' }}
A/c Name : {{ !empty($fetchData->account) ? $fetchData->account->name : '' }}
A/c Number : {{ !empty($fetchData->account) ? $fetchData->account->account_number : '' }}
@else
Payment Method : {{ !empty($fetchData->paymentMethod) ? $fetchData->paymentMethod->name : ''}}
@endif
{{ __('Currency') }} : {{ !empty($fetchData->account->currency) ? $fetchData->account->currency->name : $currency->name }}
{{ __('Transaction From') }} : {{ formatDate($fetchData->transaction_date) }}
{{ __('Type') }} {{ __('Amount') }}
{{ ucwords(str_replace ('_',' ', strtolower($fetchData->transaction_method))) }} @if ($fetchData->transaction_method == "TRANSFER") ({{ $fetchData->transaction_type }}) @endif {{ formatCurrencyAmount(abs($fetchData->amount), $currency->symbol) }}
@if (!empty($fetchData->description))
{{ __('Description') }} : {{ $fetchData->description }}
@endif
@endsection @section('js') @endsection