@extends('layouts.app') @section('title') Vendors Vouchers @stop @section('breadcrumb') @stop @section('content')

Vendor

Add New    Add Certificate

@foreach($list as $l) @php $vendorArray[] = array('vendor_id' => $l->id , 'vendor_name' => $l->name); @endphp @endforeach
# Name Description balance Action
{{$count++}} {{$l->name}} {{$l->description}} @if($balance[$l->id] < 0 ) ({{number_format(abs($balance[$l->id]))}}) @elseif($balance[$l->id] > 0 ) {{number_format($balance[$l->id])}} @else - @endif View Edit
@foreach($vendorCertificates as $vendor_certificate) @endforeach
# Vendor Date From Date To Tax Amount Total Amount Action
{{$count++}} {{ !empty($vendor_certificate->control_account)? $vendor_certificate->control_account->name:''}} {{$vendor_certificate->date_from}} {{$vendor_certificate->date_to}} {{number_format($vendor_certificate->total_tax_amount,2)}} {{number_format($vendor_certificate->total_amount , 2)}} View
@foreach($total_receipts as $pr ) @foreach($pr->receipts as $list ) @if($list->receipt_type == 1) @php $vendor = \App\PurchaseRequestVendor::find($list->vendor_id); @endphp @endif @endforeach @endforeach
Po# Vendor Bill Amount Date Action
@permission('list-purchase-order') PO-{{ucfirst($list->purchase_order_id)}} @else PO-{{ucfirst($list->purchase_order_id)}} @endpermission @permission('view-vendor') {{ucfirst($vendor->name)}} @else {{ucfirst($vendor->name)}} @endpermission {{number_format($list->remaining_amount)}} Created At :
{{date('d-F-Y' , strtotime($list->receipt_date))}}
View @permission('create-voucher') @endpermission
{{csrf_field()}}
@foreach($total_receipts as $pr ) @foreach($pr->receipts as $list ) @if($list->receipt_type == 2) @php $vendor = \App\PurchaseRequestVendor::find($list->vendor_id); @endphp @endif @endforeach @endforeach
Po# Vendor Bill Amount Date Action
@permission('list-purchase-order') PO-{{ucfirst($list->purchase_order_id)}} @else PO-{{ucfirst($list->purchase_order_id)}} @endpermission @permission('view-vendor') {{ucfirst($vendor->name)}} @else {{ucfirst($vendor->name)}} @endpermission {{number_format($list->remaining_amount)}} Created At :
{{date('d-F-Y' , strtotime($list->receipt_date))}}
@permission('create-voucher') @endpermission
{{csrf_field()}}
@permission('create-voucher')   Add New   Make Payment Voucher @endpermission

@foreach($allExpenses as $expense) @if($expense->status == 1) @elseif($expense->status == 2) @else @endif @endforeach
# Number Type Account Head Vendor Amount Bill Date Due Date Status Action
{{$count++}} BILL-000{{$expense->id}} {{$expense->expense_type == \App\Expense::CONSTRUCTION ? 'Construction' : 'Service'}} @if($expense->category){{$expense->category->number}} - {{$expense->category->name}}@endif @if($expense->vendor){{$expense->vendor->name}}@endif {{number_format($expense->amount)}} {{date('d-m-Y', strtotime($expense->billed_at)) }} {{date('d-m-Y', strtotime($expense->due_at)) }}PAIDPARTIALYUNPAID @permission('view-expense') View @endpermission
@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. ADJ Account Memo 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}} @if($entry->adjusting_entry) @endif {{$entry->account ? $entry->account->name : ''}} {{$entry->memo}} {{number_format($totalAmount[$entry->entry_no])}} View @if(!$entry->is_approved)

Approve @endif
{{csrf_field()}}
@stop @section('js') @stop