@extends('layouts.app') @section('title') All Statements @stop @section('breadcrumb') @stop @section('css') @stop @section('content')
Search Statements

All Statement ({{number_format($statementCount)}})

@permission('view-membership') @else @endpermission @permission('create-schedule') @else @endpermission @permission('edit-membership') @else @endpermission @permission('delete-membership') @else @endpermission @permission('download-membership') @else @endpermission @permission('reminder-membership') @else @endpermission @permission('sms-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 Action
{{$count++}} {{$statement->inventory ? $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 @if($view_membership)    @endif @if($statement->status != \App\CustomerProperty::approved) @if($edit_membership)    @endif @if($delete_membership)       @endif @endif @if($download_membership)    @endif @if($reminder_membership) @if($statement->reminder_text) @if($statement->reminder_date) @if($statement->reminder_date < \Carbon\Carbon::now())    @else    @endif @else    @endif @else    @endif @endif @if($sms_membership) @endif
{{$allStatements->links()}}
@stop @section('js') @stop