@include('new_layouts.header') @include('accounting.side-menu')
{{$account['subType']}} |
|
|---|---|
| {{__('Account')}} | {{__('Amount')}} |
| {{$record['account_name']}} | @if($record['netAmount']<0) {{__('Dr').'. '.\Auth::user()->priceFormat(abs($record['netAmount']))}} @elseif($record['netAmount']>0) {{__('Cr').'. '.\Auth::user()->priceFormat($record['netAmount'])}} @else {{\Auth::user()->priceFormat(0)}} @endif |
| {{__('Total').' '.$account['subType']}} | @php $total= $totalCredit-$totalDebit; @endphp @if($total<0) {{__('Dr').'. '.\Auth::user()->priceFormat(abs($total))}} @elseif($total>0) {{__('Cr').'. '.\Auth::user()->priceFormat($total)}} @else {{\Auth::user()->priceFormat(0)}} @endif |