@extends( 'layouts.app' ) @section('title') Control Account Detail @stop @section('breadcrumb')
@stop @section('css') @endsection @section('content')Date | Voucher No. | Narration | Debit | Credit | Balance | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Opening Balance | @if($balance < 0) | ({{number_format(abs($balance))}}) | @else{{$balance > 0? number_format($balance) : '-'}} | @endif|||||||||
{{date('d/m/Y',strtotime($entry->date))}} | @if($entry->voucher_type == \App\GeneralJournalEntry::CRV)CRV-{{$entry->voucher_no}} | @elseif($entry->voucher_type == \App\GeneralJournalEntry::BRV)BRV-{{$entry->voucher_no}} | @elseif($entry->voucher_type == \App\GeneralJournalEntry::CPV)CPV-{{$entry->voucher_no}} | @elseif($entry->voucher_type == \App\GeneralJournalEntry::BPV)BPV-{{$entry->voucher_no}} | @elseif($entry->voucher_type == \App\GeneralJournalEntry::JV)JV-{{$entry->voucher_no}} | @else@endif | {{$entry->memo}} | {{$entry->amount > 0 ? number_format(abs($entry->amount)) : ''}} | {{$entry->amount < 0 ? number_format(abs($entry->amount)) : ''}} | @if($balance < 0)({{number_format(abs($balance))}}) | @else{{$balance > 0 ? number_format($balance) : '-'}} | @endif|
Grand Total | {{$debit != 0 ? number_format($debit) : '-'}} | {{$credit != 0 ? number_format($credit) : '-'}} | @if($balance < 0)({{number_format(abs($balance))}}) | @else{{$balance > 0? number_format($balance) : '-'}} | @endif