@extends(BaseHelper::getAdminMasterLayoutTemplate())
@section('content')
{{ trans('plugins/real-estate::reports.monthly_properties') }}
{{ trans('plugins/real-estate::reports.property_by_type') }}
{{ trans('plugins/real-estate::reports.project_statistics') }}
{{ trans('plugins/real-estate::reports.account_statistics') }}
{{ trans('plugins/real-estate::reports.property_by_location') }}
@if(count($propertyByLocationStats) > 0)
{{ trans('plugins/real-estate::reports.location') }}
{{ trans('plugins/real-estate::reports.count') }}
@foreach($propertyByLocationStats as $item)
{{ $item->name }}
{{ number_format($item->total) }}
@endforeach
@else
@endif
{{ trans('plugins/real-estate::reports.recent_transactions') }}
@if(count($recentTransactions) > 0)
{{ trans('plugins/real-estate::reports.account') }}
{{ trans('plugins/real-estate::reports.amount') }}
{{ trans('plugins/real-estate::reports.created_at') }}
@foreach($recentTransactions as $transaction)
{{ $transaction->account->name }}
{{ format_price($transaction->amount) }}
{{ $transaction->created_at->format('M d, Y') }}
@endforeach
@else
@endif
@endsection
@push('footer')
@endpush