���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
/
portal-cutunix
/
app
/
Livewire
/
Admin
/
Pages
/
Dashboard
/
Order
/
Viewing: Show.php
<?php namespace App\Livewire\Admin\Pages\Dashboard\Order; use Livewire\Component; use Masmerise\Toaster\Toastable; use Modules\Identity\Models\TenantCustomer; use Modules\Project\Models\Order; class Show extends Component { use Toastable; protected $listeners = ['refreshOrder' => '$refresh']; public $order; public $customer; public function mount($id) { $this->authorize('orders.detail'); $this->order = Order::where('id', $id)->with('user', 'customer', 'tenant', 'factorhas')->first(); if (!$this->order) { return abort(404); } $this->customer = TenantCustomer::where('tenant_id', $this->order->services_id)->where('user_id', $this->order->user_id)->first(); } public function setDescription($formData) { Order::where('id', $this->order->id)->update([ 'description' => $formData['description'], ]); $this->dispatch('success', ' توضیحات ثبت گردید '); return; } public function render() { return view('livewire.admin.pages.dashboard.order.show') ->layout('components.layouts.admin.app') ->layoutData(['page_name' => 'panel']); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa