@extends('layouts.app') @section('title') All Cancel Statements @stop @section('breadcrumb')
@stop @section('css') @stop @section('content')# | 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)) }} | @if($statement->status == \App\CustomerProperty::pending)Pending | @elseif($statement->status == \App\CustomerProperty::approved)Approved | @elseif($statement->status == \App\CustomerProperty::cancel)Canceled | @else@endif |