@extends('layouts.admin.app') @section('title', \App\Utils\translate('supplier_details')) @section('content')
{{ \App\Utils\translate('date') }} | {{ \App\Utils\translate('account') }} | {{ \App\Utils\translate('type') }} | {{ \App\Utils\translate('amount') }} | {{ \App\Utils\translate('description') }} | {{ \App\Utils\translate('debit') }} | {{ \App\Utils\translate('credit') }} | {{ \App\Utils\translate('balance') }} |
---|---|---|---|---|---|---|---|
{{ $transaction->date }} |
{{ $transaction->account ? $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()) }} | {{ Str::limit($transaction->description, 30) }} | @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 | {{ priceCurrencyFormatPlacing($transaction->balance, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} |
{{ \App\Utils\translate('No_data_to_show') }}