   @foreach($installment_overdues as $rows)
                        @php($type = 'Installment')

                        @if($rows->booking->status != "Cancel")
                        <tr>

                          <td><span class="text-muted"></span>{{$loop->iteration}}</td>
                          <td>{{EF::showPlotFormat($rows->booking->plot)}} </td>
                          <td>
                            {{ucfirst($rows->user->name)}} 
                          </td>
                          <td>
                              {{$rows->user->contact}}
                          </td>
                          <td>
                          {{$rows->description}}
                          </td>
                          <td>
                         {{EF::numberFormat($rows->amount - $rows->received_amount)}}
                          </td>
                          <td>{{EF::dateFormat($rows->due_date)}}</td>
                          <td>
                              @if(Auth::user()->hasAnyPermission(['All','Push Sms']))
                            <a style="color: #FFFFFF;" onClick = "pushSms('{{Crypt::encrypt($type)}}','{{Crypt::encrypt($rows->id)}}')" class="btn btn-primary btn-sm">SMS</a>
                            @endif
                          </td>
                        </tr>
                        @endif
                        @endforeach