

<b>Pick one property</b>
<div class="table-responsive">
                                <table id="myTable" class="table table-striped">
                                    <thead>
                                        <tr>
                                            
                                            <th></th>
                                                            <th>Project</th>
                                                            <th>Unit #</th>
                                                            <th>Member Name</th>
                                                          
                                                            <th>Cancel Date</th>
                                                            <th>Cancel Fee(pkr)</th>
                                                            <th>Request Status</th>
                                                            <th>Unit Status</th>
                                                             
                                        </tr>
                                    </thead>
                                    <tbody>

                                        @foreach ($allStatementscancel as $statement)
                                        <tr>
                                            @if($receipt->customer_property_id == $statement->id)
                                            <td><input id="property_id" style="zoom: 1.4;" type="radio" checked="" required name='customer_property_id' value='{{$statement->id}}'   onchange="getAmount(this)" ></td>
                                          @else
                                           <td><input id="property_id" style="zoom: 1.4;" type="radio" required name='customer_property_id'  value='{{$statement->id}}'  onchange="getAmount(this)"></td>
                                          @endif
                                          <td>{{ $statement->multiProject ? $statement->multiProject->name : ' ' }}</td>
                                          <td>{{ $statement->inventory->unit_number }}</td>

                                            <td>{{ $statement->customer ? $statement->customer->name : '' }}<br><b>Dealer:
                                                </b>{{ $statement->dealer ? $statement->dealer->name : '' }}
                                            </td>


                                            <td>
                                                @if (empty($statement->cancel_date))
                                                    {{ date('d-m-Y', strtotime($statement->cancelProperty->created_at)) }}
                                                @else
                                                    {{ date('d-m-Y', strtotime($statement->cancel_date)) }}
                                                @endif

                                            </td>
                                            <td>{{ $statement->cancelProperty->fee }} </td>

                                            @if ($statement->cancelProperty->status == 0)
                                                <td><span class="label label-primary"
                                                        style="background-color:#4871c6;;">Pending</span></td>
                                            @elseif($statement->cancelProperty->status == 1)
                                                <td><span class="label label-success">Approved</span></td>
                                            @else
                                                <td></td>
                                            @endif


                                            @if ($statement->status == \App\CustomerProperty::pending)
                                                <td><span class="label label-primary"
                                                        style="background-color:#cd703d;">Pending</span></td>
                                            @elseif($statement->status == \App\CustomerProperty::approved)
                                                <td><span class="label label-success">Approved</span></td>
                                            @elseif($statement->status == \App\CustomerProperty::cancel)
                                                <td><span class="label label-danger">Canceled</span></td>
                                            @else
                                                <td></td>
                                            @endif

                                            




                                           

                                        </tr>
                                    @endforeach



                                    </tbody>
                                </table>
                            </div>

  