@extends('layouts.admin.app') @section('title',\App\Utils\translate('customer_details')) @push('css_or_js') @endpush @section('content')
{{\App\Utils\translate('#')}} | {{ \App\Utils\translate('account') }} | {{ \App\Utils\translate('type') }} | {{ \App\Utils\translate('amount') }} | {{\App\Utils\translate('date')}} | {{\App\Utils\translate('debit')}} | {{\App\Utils\translate('credit')}} |
---|---|---|---|---|---|---|
{{$transactions->firstItem()+$key}} | {{ $transaction->account?->account}} |
@if ($transaction->tran_type == 'Expense')
{{ $transaction->tran_type}} @elseif($transaction->tran_type == 'Deposit') {{ $transaction->tran_type}} @elseif($transaction->tran_type == 'Transfer') {{ $transaction->tran_type}} @elseif($transaction->tran_type == 'Income') {{ $transaction->tran_type}} @elseif($transaction->tran_type == 'Payable') {{ $transaction->tran_type}} @elseif($transaction->tran_type == 'Receivable') {{ $transaction->tran_type}} @endif |
{{ priceCurrencyFormatPlacing($transaction->amount, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} | {{ $transaction->date }} | @if ($transaction->debit) {{ priceCurrencyFormatPlacing($transaction->amount, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} @else {{ priceCurrencyFormatPlacing(0, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} @endif | @if ($transaction->credit) {{ priceCurrencyFormatPlacing($transaction->amount, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} @else {{ priceCurrencyFormatPlacing(0, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} @endif |
{{ \App\Utils\translate('No_data_to_show')}}