@extends('layouts.app') @section('title') General Journal Entries @stop @section('breadcrumb')
@stop @section('css') @endsection @section('content')Type | Checked | Posted | Date | Entry No. | Cheque No. | Receipt No. | Account | Debit/Credit (+/-) | Action | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | @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 : '' }} | @if ($entry->dealer_package_voucher == 1) @if ($entry->dealerReceipt) {{ $entry->dealerReceipt->receipt_no }} @endif @else @if ($entry->receipt) {{ $entry->receipt->receipt_no }} @endif @endif | {{ $entry->account ? $entry->account->name : '' }} | {{ number_format($totalAmount[$entry->entry_no]) }} | @permission('view-voucher') View @endpermission @permission('delete-voucher') Delete @endpermission |