@extends('admin.main') @section('content')
Pending Orders {{ count($pending_order) }}
Invoices Pending {{ count($invocie_unpaid) }}
Tickets Waiting {{ count($tickets) }}
Users {{ $customers }}

Billing

@money($total_amount_day)
Today
@money($total_amount_month)
This Month
@money($total_amount_year)
This Year
@money($total_amount)
All Time

New Order

@if (count($orders) > 0) @foreach ($orders as $item)
{{ \Carbon\Carbon::parse($item->created_at)->diffForHumans() }} {{ $item->customer->firstname . ' ' . $item->customer->lastname }}
@endforeach @endif

Last Post

    @if ($posts->count()) @foreach ($posts as $item)
  • {{ $item->name }} {{ \Carbon\Carbon::parse($item->created_at)->diffForHumans() }}
  • @endforeach @endif

Staff Online

@if (count($staffs) > 0) @foreach ($staffs as $item)
Staff Avatar
{{ $item->user->firstname . ' ' . $item->user->lastname }}
{{ \Carbon\Carbon::parse($item->updated_at)->diffForHumans() }}
@endforeach @endif

Activity

@if (count($logs) > 0) @foreach ($logs as $item)
{{ \Carbon\Carbon::parse($item->created_at)->diffForHumans() }} {{ $item->username }}
{{ $item->description }}
{{ $item->client_ip }}
@endforeach @endif

New Virtual Machine

@if (count($vmwares) > 0) @foreach ($vmwares as $item)
{{ \Carbon\Carbon::parse($item->created_at)->diffForHumans() }} {{ $item->customer->firstname . ' ' . $item->customer->lastname }}
{{ $item->ipaddress->ip ?? '' }}
View
@endforeach @else
No data
@endif

New Hosting

@if (count($hostings) > 0) @foreach ($hostings as $item)
{{ \Carbon\Carbon::parse($item->created_at)->diffForHumans() }} {{ $item->customer->firstname . ' ' . $item->customer->lastname }}
@isset($item->ipaddress->ip) {{ $item->ipaddress->ip }} @endisset
View
@endforeach @else
No data
@endif
@endsection