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

Dealers

Add New

@foreach ($list as $l) @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 ($allRebates as $rebate) @endforeach
# Project Dealer Name Property Net amount Tax amount Payment Method Description Date Action
{{ $count++ }} {{ $rebate->property->multiProject->name }} {{ $rebate->dealer ? $rebate->dealer->name : '' }} @if ($rebate->property) @if ($rebate->property->inventory) {{ $rebate->property->inventory->unit_number }} @endif @endif {{ number_format($rebate->amount) }} {{ number_format($rebate->tax_amount) }} @if ($rebate->payment_method) @if ($rebate->payment_method == 1) CASH @else BANK TRANSFER @endif @endif {{ $rebate->description }} {{ date('d-m-Y', strtotime($rebate->date)) }} @permission('create-voucher') @endpermission
{{ csrf_field() }}
@foreach ($pendingRebateBookings as $rebate) @endforeach
# Project Package Dealer Code Dealer Name Rebate Amount Date Action
{{ $count++ }} {{ $rebate->dealerPackage->multiProject->name }} @if ($rebate->dealerPackage) {{ $rebate->dealerPackage->package->name }} @endif {{ $rebate->dealer ? $rebate->dealer->code : '' }} {{ $rebate->dealer ? $rebate->dealer->name : '' }} {{ number_format($rebate->amount) }} {{ date('d-m-Y', strtotime($rebate->created_at)) }} @if ($rebate->property)    @endif @permission('create-voucher') @endpermission
{{ csrf_field() }}
@foreach ($pendingopenfilepackage as $op) @endforeach
Project Receipt # Dealer Code Dealer Name Package Name Receipt Amount Receipt Date Action
{{ $op->multiProject->name }} {{ $op->receipt_no }} {{ $op->dealerPackage->dealer->code }} {{ $op->dealerPackage->dealer->name }} {{ $op->dealerPackage->package->name }} {{ $op->amount }} pkr {{ $op->receipt_date }} @permission('create-voucher') @endpermission
{{ csrf_field() }}
@foreach ($cancel_openfile_receipts as $c_open_filereceipt) @if ($c_open_filereceipt->payment_method == \App\Receipt::cash) @elseif($c_open_filereceipt->payment_method == \App\Receipt::bank) @elseif($c_open_filereceipt->payment_method == \App\Receipt::adjustment) @elseif($c_open_filereceipt->payment_method == \App\Receipt::cheque) @elseif($c_open_filereceipt->payment_method == \App\Receipt::merging) @else @endif @if ($c_open_filereceipt->tax_paid_by == \App\Receipt::company) @else @endif @if ($c_open_filereceipt->is_approved == true) @else @endif @endforeach
Receipt No. Project Unit No. Payment Method Received Amount Date Status Action
{{ $c_open_filereceipt->receipt_no }} {{ $c_open_filereceipt->multiProject ? $c_open_filereceipt->multiProject->name : 'None' }} {{ $c_open_filereceipt->openFileDealerInfo ? ($c_open_filereceipt->openFileDealerInfo->inventory ? $c_open_filereceipt->openFileDealerInfo->inventory->unit_number : '') : '' }} CashBankAdjustmentChequeMerging{{ number_format($c_open_filereceipt->amount + $c_open_filereceipt->tax_amount) }} PKR{{ number_format($c_open_filereceipt->amount) }} PKR {{ date('d-m-Y', strtotime($c_open_filereceipt->receipt_date)) }} Approved Pending @permission('create-voucher') @endpermission
{{ csrf_field() }}
@foreach ($openfile_receipts as $open_filereceipt) @if ($open_filereceipt->payment_method == \App\Receipt::cash) @elseif($open_filereceipt->payment_method == \App\Receipt::bank) @elseif($open_filereceipt->payment_method == \App\Receipt::adjustment) @elseif($open_filereceipt->payment_method == \App\Receipt::cheque) @elseif($open_filereceipt->payment_method == \App\Receipt::merging) @else @endif @if ($open_filereceipt->tax_paid_by == \App\Receipt::company) @else @endif @endforeach
Receipt No. Project Unit No. Payment Method Received Amount Date Action
{{ $open_filereceipt->receipt_no }} {{ $open_filereceipt->multiProject ? $open_filereceipt->multiProject->name : 'None' }} {{ $open_filereceipt->openFileDealerInfo ? ($open_filereceipt->openFileDealerInfo->inventory ? $open_filereceipt->openFileDealerInfo->inventory->unit_number : '') : '' }} CashBankAdjustmentChequeMerging{{ number_format($open_filereceipt->amount + $open_filereceipt->tax_amount) }} PKR{{ number_format($open_filereceipt->amount) }} PKR {{ date('d-m-Y', strtotime($open_filereceipt->receipt_date)) }} @permission('create-voucher') @endpermission
{{ csrf_field() }}
@permission('create-voucher') @endpermission
{{ csrf_field() }}
@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