@extends('layouts.app') @section('content')
@include('dashboard.update-message-dashboard')
@lang('messages.pushNotificationMessage') @lang('messages.enableNotifications')
@if(isRole() == 'Admin') @if(smtp_setting()->mail_driver == 'smtp' && !smtp_setting()->verified)
@lang('messages.smtpError') @lang('modules.settings.emailSettings')
@endif @endif

@lang('menu.dashboard')

{{ now()->timezone(timezone())->format('l, d M, h:i A') }}
@if(user_can('Show Tower')) @livewire('dashboard.total-tower-count') @endif @if(user_can('Show Apartment') && isRole() != 'Guard') @livewire('dashboard.total-unsold-apartment-count') @endif @if(user_can('Show Apartment') || isRole() == 'Owner' || isRole() == 'Tenant') @livewire('dashboard.total-apartment-count') @endif @if (user_can('Show Maintenance') || isRole() == 'Owner' || isRole() == 'Tenant') @livewire('dashboard.total-maintenance-dues-count') @endif @if(user_can('Show Owner')) @livewire('dashboard.total-owner-count') @endif @if(user_can('Show Tenant') || isRole() == 'Owner') @livewire('dashboard.total-tenant-count') @endif
@if (user_can('Show Book Amenity') || isRole() == 'Owner' || isRole() == 'Tenant') @livewire('dashboard.today-booking-amenities-count') @endif @if (user_can('Show Rent') || isRole() == 'Owner' || isRole() == 'Tenant') @livewire('dashboard.rents') @endif @if (user_can('Show Tickets') || isRole() == 'Owner' || isRole() == 'Tenant' || isRole() == 'Guard') @livewire('dashboard.tickets') @endif @if (user_can('Show Utility Bills')|| isRole() == 'Owner' || isRole() == 'Tenant') @livewire('dashboard.utility-bills') @endif @if (user_can('Show Common Area Bills')) @livewire('dashboard.common-area-bills') @endif @if (user_can('Show Service Time Logging') || isRole() == 'Guard') @livewire('dashboard.today-service-clock-in-out') @endif @if (user_can('Show Visitors')|| isRole() == 'Owner' || isRole() == 'Tenant' || isRole() == 'Guard') @livewire('dashboard.total-visitor-count') @endif @if (user_can('Show Notice Board') || isRole() == 'Owner' || isRole() == 'Tenant' || isRole() == 'Guard') @livewire('dashboard.notice-board') @endif
@endsection