@extends('layouts.app') @section('title') Trash Box @stop @section('breadcrumb') @stop @section('content')

Customers

@foreach($allCustomers as $customer) @endforeach
# Member Id Member Name Action
{{$count++}} M{{$customer->id}} {{$customer->name}}

All Inventories

@foreach($allInventories as $i) @endforeach
Sr # Unit # Action
{{$count++}} {{$i->unit_number}}

All Statement

@foreach($allStatements as $statement) @endforeach
# Reference # Unit # Member Name Action
{{$count++}} {{$statement->membership_no}} {{$statement->inventory ? $statement->inventory->unit_number : '' }} {{$statement->customer ? $statement->customer->name: ''}}

All Receipts

@foreach($receipts as $receipt) @if($receipt->payment_head == \App\Receipt::down_payment) @elseif($receipt->payment_head == \App\Receipt::possession_fee) @elseif($receipt->payment_head == \App\Receipt::installment) @elseif($receipt->payment_head == \App\Receipt::other) @else @endif @endforeach
Receipt No. Unit No. Payment Head Received Amount Date Action
{{$receipt->receipt_no}} {{$receipt->property ? $receipt->property->inventory ? $receipt->property->inventory->unit_number : '' : ''}}Down PaymentPossession FeeInstallmentOther{{number_format($receipt->amount)}} PKR {{date('d-m-Y', strtotime($receipt->receipt_date)) }}

All Dealers

@foreach($allDealers as $dealer) @endforeach
# Name Total Sale Total Rebate Paid Amount Action
{{$count++}} {{$dealer->name}} - {{$dealer->dealerType ? $dealer->dealerType->name : ''}} {{$dealer->total_sale ? number_format($dealer->total_sale) : 0}} PKR {{$dealer->total_rebate ? number_format($dealer->total_rebate) : 0}} PKR {{$dealer->total_paid_amount ? number_format($dealer->total_paid_amount) : 0}} PKR

All Dealer Rebate

@foreach($allDealerRebate as $no) @endforeach
# Dealer Amount Action
{{$count++}} {{$no->dealer->name}} {{$no->amount}}

All Unit Type

@foreach($allUnitType as $no) @endforeach
# Name Action
{{$count++}} {{$no->name}}

All Unit Size

@foreach($allUnitSize as $no) @endforeach
# Name Action
{{$count++}} {{$no->name}}

All Unit Floor

@foreach($allUnitFloor as $no) @endforeach
# Name Action
{{$count++}} {{$no->name}}

All Unit Category

@foreach($allUnitCategory as $no) @endforeach
# Name Action
{{$count++}} {{$no->name}}
@stop @section('js') @stop