@extends('_version_02.commons.layouts.admin') @section('content') @if(App\Company::is_allow_to_access_module(App\Setting::LABEL_MODULE_POWER_MANAGEMENT))
{{App\Language::trans('Last update')}}
@php $company = new App\Company(); $company = $company->self_profile(); @endphp {{App\Language::trans('Credit Below').' '.$company->getCurrenncyCode().' '.$company->getPMOperationalSetting()->credit_threshold}}
...
{{App\Language::trans('Healthy credit').' ( > '.' '.$company->getCurrenncyCode().' '.$company->getPMOperationalSetting()->credit_threshold.' )' }}
...
{{App\Language::trans('Payment made')}}
...
@if(isset($company['system_alive_at']))
Remote Server Monitoring
{{App\Language::trans('Last contact at :')}} {{$company['system_alive_at'] }} @php $alive_status = 'success'; $origin = date_create($company['system_alive_at']); $target = date_create(date('Y-m-d H:i:s',strtotime('now'))); $interval = date_diff($origin, $target); $interval_mins = App\Setting::getIntervalInMinutes($interval); if($interval_mins > 360) { $alive_status = 'danger'; } $lost_contact_period_mins = $interval->format('%a days %h hours %i minutes') ; @endphp {{App\Language::trans('')}} {{ $lost_contact_period_mins }}
@endif
{{date('F-Y', strtotime('now'))}} {{App\Language::trans('Daily Usage')}}
{{date('Y', strtotime('now'))}} {{App\Language::trans('Monthly Usage')}}
@endif @if(App\Company::is_allow_to_access_module(App\Setting::LABEL_MODULE_ACCOUNTING))
{{App\Language::trans('Total Member')}}
...
{{App\Language::trans('Total Invoice')}}
...
{{App\Language::trans('Total Payment Received')}}
...
{{App\Language::trans('Ticket Complaints')}}
...
@endif @if(isset($super_version)) @if(Auth::User()->is_super_admin)
{{App\Language::trans('Modules Status Report')}}
@foreach($module_status_listing as $row) @endforeach
{{App\Language::trans('Modules')}} {{App\Language::trans('Description')}} {{App\Language::trans('Solution')}} {{App\Language::trans('Action')}}
{{App\Language::trans($row['module_name'])}} {{App\Language::trans($row['description'])}} {{App\Language::trans($row['solution'])}} {{App\Language::trans('Fix now')}}
@endif @endif @endsection @section('script') @endsection