@extends('layouts.admin') @section('page-title') {{ __('Transaction Summary') }} @endsection @section('breadcrumb')
| {{ __('Date') }} | {{ __('Account') }} | {{ __('Type') }} | {{ __('Category') }} | {{ __('Description') }} | {{ __('Amount') }} |
|---|---|---|---|---|---|
| {{ \Auth::user()->dateFormat($transaction->date) }} | @if (!empty($transaction->bankAccount()) && $transaction->bankAccount()->holder_name == 'Cash') {{ $transaction->bankAccount()->holder_name }} @else {{ !empty($transaction->bankAccount()) ? $transaction->bankAccount()->bank_name . ' ' . $transaction->bankAccount()->holder_name : '-' }} @endif | {{ $transaction->type }} | {{ $transaction->category }} | {{ !empty($transaction->description) ? $transaction->description : '-' }} | {{ \Auth::user()->priceFormat($transaction->amount) }} |