@extends('layouts.app') @section('title') All Cancel Statements @stop @section('breadcrumb') @stop @section('css') @stop @section('content')
@permission('list-membership')   Add new Cancellation @endpermission

Cancel Statements ({{number_format($statementCount)}})

@permission('edit-membership') @else @endpermission @foreach($allStatements as $statement) @if($statement->status == \App\CustomerProperty::pending) @elseif($statement->status == \App\CustomerProperty::approved) @elseif($statement->status == \App\CustomerProperty::cancel) @else @endif @endforeach
# Unit # Size Member Name Net Amount Received Amount Booking Date Status
{{$count++}} {{$statement->inventory->unit_number}} @if($statement->inventory) @if($statement->inventory->size) {{$statement->inventory->size->name}} {{env('SIZE')}} @endif @endif {{$statement->customer ? $statement->customer->name: ''}}
Dealer: {{$statement->dealer ? $statement->dealer->name: ''}}
{{number_format($statement->net_pay)}} {{number_format($receivedAmt[$statement->id])}} {{date('d-m-Y', strtotime($statement->booking_date)) }}PendingApprovedCanceled
{{$allStatements->links()}}
@stop @section('js') @stop