@forelse($records as $r=>$record)
@if(($record->record_type=="withoutsubscription") && ($record->payment_status=="paid"))
{{ $count }} |
{{ $record->name }} |
{{ $record->phone }} |
{{ $record->address }} |
{{ $record->postal_code }} |
{{ $record->state }} |
{{ $record->city }} |
{{ $record->mls_number }} |
{{ $record->commission }} {{ $record->type }} |
@if($record->status=="1")
Active
@else
Inactive
@endif
|
{{ $record->record_type }} |
{{ Carbon\Carbon::parse($record->created_at)->format('d M Y') }} |
Edit
Delete
|
@endif
@if($record->record_type=="subscription")
{{ $count }} |
{{ $record->name }} |
{{ $record->phone }} |
{{ $record->address }} |
{{ $record->postal_code }} |
{{ $record->state }} |
{{ $record->city }} |
{{ $record->mls_number }} |
{{ $record->commission }} {{ $record->type }} |
@if($record->status=="1")
Active
@else
Inactive
@endif
|
{{ $record->record_type }} |
{{ Carbon\Carbon::parse($record->created_at)->format('d M Y') }} |
Edit
Delete
|
@endif
@empty
@endforelse