⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.138
Server IP:
186.226.58.36
Server:
Linux da02.sh15.net 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Server Software:
Apache/2
PHP Version:
8.1.32
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
redesystem
/
public_html
/
sys
/
app
/
Livewire
/
View File Name :
Dashboard.php
<?php namespace App\Livewire; use App\Models\Client; use App\Models\Invoice; use App\Models\Product; use Livewire\Component; class Dashboard extends Component { public $totalInvoices; public $totalClients; public $totalProducts; public $paidInvoices; public $unpaidInvoices; public $partiallyPaid; public $overdueInvoices; public function mount() { $invoice = Invoice::all(); $this->totalInvoices = $invoice->count(); $this->totalClients = Client::count(); $this->totalProducts = Product::count(); $this->paidInvoices = $invoice->where('status', Invoice::PAID)->count(); $this->unpaidInvoices = $invoice->where('status', Invoice::UNPAID)->count(); } public function placeholder() { return view('livewire.dashboard_skeleton'); } public function render() { return view('livewire.dashboard'); } }