@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('reopen-membership') @else @endpermission @permission('view-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 Cancel Date Status
Action
{{$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)) }} {{date('d-m-Y', strtotime($statement->cancel_date)) }}PendingApprovedCanceled
@if($view_membership)    @endif @if($reopen_membership)    @endif
{{$allStatements->links()}}
@stop @section('js') @stop