@extends('website.layout.master') @section('title') Record History @endsection @section('content')

Real Estate Commission Database

Record History

@if(isset(Auth::user()->purchased_subscriptions_data) && sizeof(Auth::user()->purchased_subscriptions_data)>0) @if(isset(Auth::user()->records_data) && sizeof(Auth::user()->records_data)>0)

Total Remaining Records : {{ (Auth::user()->purchased_subscriptions_data->sum('records')-sizeof(Auth::user()->records_data)) }}

@else

Total Remaining Records : {{ Auth::user()->purchased_subscriptions_data->sum('records') }}

@endif @endif

Record History

@forelse($records as $r=>$record) @if(($record->record_type=="withoutsubscription") && ($record->payment_status=="paid")) @endif @if($record->record_type=="subscription") @endif @if($record->record_type=="freesubscription") @endif @empty @endforelse
ID Name Phone Address Postal Code State City MLS Number Commission Status Record Type Created At Edit
{{ $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
{{ $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
{{ $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

@endsection @section('script') @endsection