@extends('layouts.app') @section('title', 'Bank Account Details') @section('content')
| ID: | {{ $bankAccountInfo->id }} |
| Bank Name: | {{ $bankAccountInfo->bank_name }} |
| Account Number: | {{ $bankAccountInfo->account_number }} |
| Account Type: | {{ $bankAccountInfo->account_type ?? 'N/A' }} |
| Branch Name: | {{ $bankAccountInfo->branch_name ?? 'N/A' }} |
| Routing Number: | {{ $bankAccountInfo->routing_number ?? 'N/A' }} |
| Status: | @if($bankAccountInfo->is_active) Active @else Inactive @endif |
| Account Holder: | {{ $bankAccountInfo->accountHolder->name }} |
| Contact Person: | {{ $bankAccountInfo->accountHolder->contact_person ?? 'N/A' }} |
| Phone: | {{ $bankAccountInfo->accountHolder->phone ?? 'N/A' }} |
| Email: | {{ $bankAccountInfo->accountHolder->email ?? 'N/A' }} |
| Opening Balance: | ৳{{ number_format($bankAccountInfo->opening_balance, 2) }} |
| Current Balance: | ৳{{ number_format($bankAccountInfo->current_balance, 2) }} |
| Balance Change: | @php $change = $bankAccountInfo->current_balance - $bankAccountInfo->opening_balance; @endphp @if($change > 0) +৳{{ number_format($change, 2) }} @elseif($change < 0) -৳{{ number_format(abs($change), 2) }} @else ৳0.00 @endif |
| Date | Type | Invoice Information | Description | Deposit | Withdraw | Running Balance | Status |
|---|---|---|---|---|---|---|---|
| {{ $transaction->transaction_date->format('M d, Y') }} | {{ $transaction->transaction_type_label }} |
@if($transaction->salesInvoice)
Invoice: {{ $transaction->salesInvoice->invoice_no }}
@else
-
@endif
Customer: {{ $transaction->salesInvoice->customer_name ?? ($transaction->salesInvoice->customer ? $transaction->salesInvoice->customer->name : 'N/A') }} Amount: ৳{{ number_format($transaction->salesInvoice->invoice_amount, 2) }} Due: ৳{{ number_format($transaction->salesInvoice->due_amount, 2) }} |
{{ $transaction->description ?? 'N/A' }} | ৳{{ number_format($transaction->deposit_balance, 2) }} | ৳{{ number_format($transaction->withdraw_balance, 2) }} | ৳{{ number_format($runningBalances[$transaction->id] ?? 0, 2) }} | {{ ucfirst($transaction->status) }} |
No transactions found for this bank account.
Add First Transaction