@extends('layouts.app') @section('title') General Journal Entries @stop @section('breadcrumb') @stop @section('css') @endsection @section('content')
@permission('create-voucher') @endpermission
{{csrf_field()}}
Customize Entries
@if($errors->has('date_range')) {{ $errors->first('date_range') }} @endif

List of General Journal 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 Entry No. 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->entry_no}} {{$entry->cheaque_no ? $entry->cheaque_no : ''}} {{$entry->account? $entry->account->name : ''}} {{number_format($totalAmount[$entry->entry_no])}} @permission('view-voucher') View @endpermission @permission('delete-voucher') Delete @endpermission
{{ $allEntries->links() }}
@stop @section('js') @stop