@extends('layouts.app') @section('title', 'Company Dashboard') @section('content')
No billing in {{ $company->name }} can be voided until you set your 6-digit code. Company admins must ask you for it before they can void anything.
Set my void code{{ $company->name }}
{{ $company->email }}
{{ $company->phone }}
{{ $company->city }}, {{ $company->country }}
Currency: ₱ Philippine Peso
No tier groups configured
@endforelseNo pricing tiers configured yet. Create your first tier group
@endifNo applications yet. Start new application
@endif| Name | Account | Meter # | Location | Status |
|---|---|---|---|---|
| {{ $client->name }} | {{ $client->account_number }} | {{ $client->meter_number ?? 'N/A' }} | {{ $client->city }}, {{ $client->province }} | {{ ucfirst($client->status) }} |
No clients yet.
@endif| Client | Account # | Overdue | Overdue Since | Amount Due |
|---|---|---|---|---|
| {{ $billing->client->name }} | {{ $billing->client->account_number }} | {{ $billing->overdueForHumans() }} | {{ $billing->overdueSince()?->format('M d, Y') ?? '—' }} | ₱{{ number_format($billing->balance, 2) }} |
No overdue billings
@endif| Client | Account # | Disconnect Date | Amount Due |
|---|---|---|---|
| {{ $billing->client->name }} | {{ $billing->client->account_number }} | {{ $billing->getEffectiveDisconnectionDate()?->format('M d, Y') ?? 'N/A' }} | ₱{{ number_format($billing->balance, 2) }} |
No billings eligible for disconnection
@endif| Client | Amount | Date Applied |
|---|---|---|
| {{ $payment->billing?->client->name ?? 'N/A' }} | ₱{{ number_format($payment->amount, 2) }} | {{ $payment->created_at->format('M d, Y H:i') }} |
No late fees applied
@endif| Client | Amount | Notice Date |
|---|---|---|
| {{ $notice->billing?->client->name ?? 'N/A' }} | ₱{{ number_format($notice->billing?->balance, 2) ?? '0.00' }} | {{ $notice->created_at->format('M d, Y H:i') }} |
No disconnection notices sent
@endif| User | Action | Model Type | Description | Timestamp |
|---|---|---|---|---|
| @if($log->user) {{ $log->user->name }} @else System @endif | @if($log->action === 'created') CREATE @elseif($log->action === 'updated') UPDATE @elseif($log->action === 'deleted') DELETE @else {{ strtoupper($log->action) }} @endif | {{ $log->model_type }} |
{{ Str::limit($log->description, 50) }} | {{ $log->created_at->diffForHumans() }} |
| No activity logs found | ||||
| Billing # | Client | Amount | Voided | By | Authorized By | Reason |
|---|---|---|---|---|---|---|
| {{ $void->billing_number }} | {{ $void->client->name ?? 'N/A' }} | ₱{{ number_format($void->total_amount_due, 2) }} | {{ $void->voided_at?->format('M d, Y g:i A') ?? '—' }} | {{ $void->voidedByUser->name ?? '—' }} | {{ $void->voidAuthorizedByUser->name ?? '—' }} | {{ $void->void_reason ?? '—' }} |
No billings have been voided yet.
@endif