@extends('layouts.app' ) @section('title') Dashboard @stop @section('css') @stop @section('content')

{{number_format($totalBankBalance)}}

Bank Balances

@foreach($banks as $b) @if($bankBalance[$b->id] != 0)

{{$b->number}} - {{$b->name}} @if($bankBalance[$b->id] < 0) ({{number_format(abs($bankBalance[$b->id]))}}) @else {{$bankBalance[$b->id] > 0 ? number_format($bankBalance[$b->id]) : '-'}} @endif

@endif @endforeach

{{number_format(abs($accountReceivable))}}

Accounts Receivable

{{number_format(abs($accountPayable))}}

Accounts Payable

{{csrf_field()}}

List of unPosted Entries

@foreach($allEntries as $entry) @if($entry->voucher_type == \App\GeneralJournalEntry::CRV) @elseif($entry->voucher_type == \App\GeneralJournalEntry::BRV) @elseif($entry->voucher_type == \App\GeneralJournalEntry::CPV) @elseif($entry->voucher_type == \App\GeneralJournalEntry::BPV) @elseif($entry->voucher_type == \App\GeneralJournalEntry::JV) @else @endif @endforeach
Type Checked Posted Date Cheque No. Account Debit/Credit (+/-) Action
CRV-{{$entry->voucher_no}}BRV-{{$entry->voucher_no}}CPV-{{$entry->voucher_no}}BPV-{{$entry->voucher_no}}JV-{{$entry->voucher_no}}@if($entry->is_check) @else @endif @if($entry->is_post) @else @endif {{date('d/m/Y', strtotime($entry->date))}} {{$entry->cheaque_no ? $entry->cheaque_no : ''}} {{$entry->account ? $entry->account->name : ''}} {{number_format($totalAmount[$entry->entry_no])}} View @if(!$entry->is_approved)

Approve @endif

@stop @section('js') @stop