@extends("admin.main") @section("content") @if(auth()->guard('admins')->user()->can("edit customer"))
@include("admin.block.nav")

Clients Information

First Name {{ $customer->firstname }}
Last Name {{ $customer->lastname }}
Company {{ $customer->company }}
Email {{ $customer->email }}
Address {{ $customer->address }}
City {{ $customer->city }}
Country {{ $customer->country }}
Phone Number {{ $customer->phone }}

Invoices/Billing

Invoice Paid {{ $customer->invoices_status_count_1 }} (@money($customer->invoices_status_1) đ)
Invoice UnPaid {{ $customer->invoices_status_count_0 }} (@money($customer->invoices_status_0) đ)
Total @money($customer->invoices_status_0 + $customer->invoices_status_1) đ

Recent Emails

@if($customer->mail->count()) @foreach($customer->mail->take(4)->all() as $item) @endforeach
{{ $item->created_at }} - {{ $item->subject }}
@else

No recent Email

@endif

Products/Services

VPS/Server {{ $customer->vps_count}}
Hosting {{ $customer->hosting_count }}
Domain {{ $customer->domain_count }}
Support Tickets {{ $customer->ticket_count }}

Files

@if($customer->file->count()) @foreach($customer->file->all() as $item) @endforeach
{{ $item->filename }}
@else

No files uploaded

@endif
Add File Add File
@else
Access Denied - You are not assigned to any Customer management department
@endif @endsection @push('scripts') @endpush