@extends('mainlayout.layout') @section('title', config('app.name') . ' | ' . $owner->name) @section('topbar-search', 'enabled') @section('content') @php($canEdit = auth()->user()->hasRole('superadmin') || auth()->user()->can('propertyowner.edit'))
Property owners Property owner overview

{{ $owner->name }}

Company profile, project portfolio, payments and disbursements.

@if($canEdit) Edit company@endif @role('superadmin') Disbursement to account@endrole
@if(session('message'))
{{ session('message') }}
@endif @if(session('error'))@endif @if($errors->any())@endif
Projects{{ number_format($owner->projects_count) }}
Total plots{{ number_format($metrics['plots']) }}
Completed orders{{ number_format($metrics['sold_plots']) }}
Completed sales valueTZS {{ number_format($metrics['revenue'], 2) }}
Orders awaiting completion{{ number_format($metrics['pending_transactions']) }}
@endsection @push('scripts')@endpush