update
This commit is contained in:
@@ -81,6 +81,23 @@ class OrderQueryService
|
||||
->first();
|
||||
}
|
||||
|
||||
public function findCustomerInvoiceByNumber(int $customerId, string $invoiceNumber): ?Invoice
|
||||
{
|
||||
return Invoice::query()
|
||||
->with([
|
||||
'order.orderItems.product',
|
||||
'order.vmWare.ipAddress',
|
||||
'order.vmWare.os',
|
||||
'customer',
|
||||
'attachments',
|
||||
'invoiceItems.product',
|
||||
'services.product',
|
||||
])
|
||||
->where('customer_id', $customerId)
|
||||
->where('invoice_number', $invoiceNumber)
|
||||
->first();
|
||||
}
|
||||
|
||||
public function findCustomerInvoiceByOrderNum(int $customerId, string $orderNumber): ?Order
|
||||
{
|
||||
return Order::query()
|
||||
@@ -168,10 +185,8 @@ class OrderQueryService
|
||||
|
||||
public function renewService(int $serviceId, int $customerId, int $months): array
|
||||
{
|
||||
$customer = \App\Models\Customer::find($customerId);
|
||||
|
||||
$service = Service::query()
|
||||
->with(['orderItem.product'])
|
||||
->with(['orderItem.product', 'invoice'])
|
||||
->where('id', $serviceId)
|
||||
->where('customer_id', $customerId)
|
||||
->whereNotIn('status', ['terminated', 'cancelled'])
|
||||
@@ -188,35 +203,60 @@ class OrderQueryService
|
||||
|
||||
$price = (int) $orderItem->price * $months;
|
||||
|
||||
if ($customer->total < $price) {
|
||||
return ['ok' => false, 'message' => sprintf('Số dư không đủ. Hiện có: %s VNĐ, cần: %s VNĐ.', number_format($customer->total), number_format($price)), 'code' => 400];
|
||||
if ($service->invoice_id && Invoice::where('id', $service->invoice_id)
|
||||
->where('invoice_type', 2)
|
||||
->whereIn('status', [InvoiceStatus::UNPAID->value, InvoiceStatus::OVERDUE->value])
|
||||
->exists()) {
|
||||
$invoice = Invoice::find($service->invoice_id);
|
||||
|
||||
return [
|
||||
'ok' => true,
|
||||
'message' => 'Dịch vụ đã có hóa đơn gia hạn đang chờ thanh toán.',
|
||||
'data' => [
|
||||
'order_id' => $invoice?->order_id,
|
||||
'invoice_id' => $invoice?->id,
|
||||
'invoice_number' => $invoice?->invoice_number,
|
||||
'total' => (float) ($invoice?->total ?? 0),
|
||||
'status' => $invoice?->status,
|
||||
'payment_url' => url('/client/invoices/' . $invoice?->invoice_number . '/payment'),
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
$needsVmStart = $service->vm_id !== null;
|
||||
|
||||
$invoice = DB::transaction(function () use ($customer, $service, $orderItem, $price, $months) {
|
||||
$customer->total -= $price;
|
||||
$customer->save();
|
||||
|
||||
\App\Models\Log::create([
|
||||
'agent' => 'api',
|
||||
$invoice = DB::transaction(function () use ($service, $orderItem, $price, $months) {
|
||||
$order = Order::create([
|
||||
'order_num' => OrderHelper::generateOrderNumber(),
|
||||
'customer_id' => $service->customer_id,
|
||||
'sub_total' => $price,
|
||||
'discount_amount' => 0,
|
||||
'total' => $price,
|
||||
'status' => OrderStatus::PENDING->value,
|
||||
'client_ip' => request()?->ip(),
|
||||
'customer_id' => $customer->id,
|
||||
'description' => sprintf('Gia hạn dịch vụ #%s. Số tiền: %s VNĐ. Số dư còn: %s VNĐ.', $service->server_name ?? $service->id, number_format($price), number_format($customer->total)),
|
||||
'note' => 'Đơn hàng gia hạn dịch vụ #' . $service->id,
|
||||
]);
|
||||
|
||||
OrderItem::create([
|
||||
'order_id' => $order->id,
|
||||
'product_id' => $service->product_id,
|
||||
'billing_cycle' => $orderItem->billing_cycle,
|
||||
'months' => $months,
|
||||
'os_id' => $orderItem->os_id,
|
||||
'quantity' => 1,
|
||||
'server_name' => $service->server_name,
|
||||
'price' => $price,
|
||||
]);
|
||||
|
||||
$invoice = Invoice::create([
|
||||
'invoice_number' => OrderHelper::generateOrderNumber('INV'),
|
||||
'customer_id' => $customer->id,
|
||||
'order_id' => null,
|
||||
'customer_id' => $service->customer_id,
|
||||
'order_id' => $order->id,
|
||||
'invoice_type' => 2,
|
||||
'sub_total' => $price,
|
||||
'discount_amount' => 0,
|
||||
'tax' => 0,
|
||||
'total' => $price,
|
||||
'status' => InvoiceStatus::PAID->value,
|
||||
'paid_at' => now(),
|
||||
'payment_method' => 'credit',
|
||||
'status' => InvoiceStatus::UNPAID->value,
|
||||
'due_date' => now()->addDays(7)->toDateString(),
|
||||
]);
|
||||
|
||||
\App\Models\InvoiceItem::create([
|
||||
@@ -230,30 +270,21 @@ class OrderQueryService
|
||||
'total_price' => $price,
|
||||
]);
|
||||
|
||||
$baseDate = $service->expires_at && $service->expires_at->isFuture() ? $service->expires_at : now();
|
||||
$expiresAt = Carbon::parse($baseDate)->addMonths($months);
|
||||
|
||||
$service->update([
|
||||
'status' => 'active',
|
||||
'expires_at' => $expiresAt,
|
||||
'suspended_at' => null,
|
||||
'invoice_id' => $invoice->id,
|
||||
]);
|
||||
$service->update(['invoice_id' => $invoice->id]);
|
||||
|
||||
return $invoice;
|
||||
});
|
||||
|
||||
if ($needsVmStart) {
|
||||
dispatch(new VMJobs((int) $service->vm_id, 'Start', false))->delay(now()->addSeconds(5));
|
||||
}
|
||||
|
||||
return [
|
||||
'ok' => true,
|
||||
'message' => 'Gia hạn thành công. Dịch vụ đã được kích hoạt lại.',
|
||||
'message' => 'Đã tạo hóa đơn gia hạn. Vui lòng thanh toán để gia hạn dịch vụ.',
|
||||
'data' => [
|
||||
'order_id' => $invoice->order_id,
|
||||
'invoice_id' => $invoice->id,
|
||||
'invoice_number' => $invoice->invoice_number,
|
||||
'total' => (float) $invoice->total,
|
||||
'expires_at' => $service->fresh()?->expires_at?->toISOString(),
|
||||
'status' => $invoice->status,
|
||||
'payment_url' => url('/client/invoices/' . $invoice->invoice_number . '/payment'),
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ use App\Models\ServiceAddon;
|
||||
use App\Repositories\Api\Invoice\InvoiceRepository;
|
||||
use App\Repositories\Api\Order\OrderRepository;
|
||||
use App\Repositories\Api\Service\ServiceRepository;
|
||||
use App\Services\InvoicePaymentService;
|
||||
use Exception;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
@@ -25,6 +26,7 @@ class OrderService
|
||||
protected OrderRepository $orderRepo,
|
||||
protected ServiceRepository $productRepo,
|
||||
protected InvoiceRepository $invoiceRepo,
|
||||
protected InvoicePaymentService $invoicePaymentService,
|
||||
) {}
|
||||
|
||||
// =========================================================================
|
||||
@@ -123,35 +125,18 @@ class OrderService
|
||||
));
|
||||
}
|
||||
|
||||
// Debit balance
|
||||
$customer->total -= $order->total;
|
||||
$customer->save();
|
||||
|
||||
CustomerActivityLog::create([
|
||||
'agent' => 'api',
|
||||
'client_ip' => request()?->ip(),
|
||||
'customer_id' => $customer->id,
|
||||
'description' => sprintf(
|
||||
'Thanh toán đơn hàng #%s. Số tiền: %s VNĐ. Số dư còn: %s VNĐ.',
|
||||
$order->order_num,
|
||||
number_format($order->total),
|
||||
number_format($customer->total)
|
||||
),
|
||||
]);
|
||||
|
||||
// Allow re-paying a cancelled order
|
||||
if ($order->status === OrderStatus::CANCELLED->value) {
|
||||
$order->update(['status' => OrderStatus::PENDING->value]);
|
||||
}
|
||||
|
||||
// Mark order → ACTIVE, invoice → PAID
|
||||
$processedOrder = $this->orderRepo->processPayment($order, $method);
|
||||
|
||||
// Provision a Service for each order item
|
||||
foreach ($processedOrder->orderItems as $item) {
|
||||
$this->provisionService($processedOrder, $item, $customer);
|
||||
if (! $order->invoice) {
|
||||
throw new Exception('Không tìm thấy hóa đơn của đơn hàng.');
|
||||
}
|
||||
|
||||
$this->invoicePaymentService->payWithBalance($order->invoice, $customer, $method);
|
||||
$processedOrder = $order->fresh(['orderItems', 'invoice', 'customer']);
|
||||
|
||||
$this->dispatchAdminNotification($processedOrder, $customer);
|
||||
|
||||
return $processedOrder;
|
||||
|
||||
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Enums\Invoice\InvoiceStatus;
|
||||
use App\Enums\Order\OrderStatus;
|
||||
use App\Enums\TransactionStatus;
|
||||
use App\Jobs\VirtualMachine\Action\VMJobs;
|
||||
use App\Jobs\VirtualMachine\Create\CreateVirtualMachineJob;
|
||||
use App\Models\Customer;
|
||||
use App\Models\Invoice;
|
||||
use App\Models\Log as CustomerActivityLog;
|
||||
use App\Models\OrderItem;
|
||||
use App\Models\Service;
|
||||
use App\Models\ServiceAddon;
|
||||
use App\Models\Transaction;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class InvoicePaymentService
|
||||
{
|
||||
public function payWithBalance(Invoice $invoice, Customer $customer, string $method = 'balance'): Invoice
|
||||
{
|
||||
if ((int) $invoice->customer_id !== (int) $customer->id) {
|
||||
throw new \InvalidArgumentException('Hóa đơn không thuộc tài khoản này.');
|
||||
}
|
||||
|
||||
if ((int) $invoice->status === InvoiceStatus::PAID->value) {
|
||||
return $invoice->fresh(['order.orderItems.product', 'services', 'customer']);
|
||||
}
|
||||
|
||||
if (! in_array((int) $invoice->status, [InvoiceStatus::UNPAID->value, InvoiceStatus::OVERDUE->value], true)) {
|
||||
throw new \InvalidArgumentException('Hóa đơn không ở trạng thái có thể thanh toán.');
|
||||
}
|
||||
|
||||
if ((int) $customer->total < (int) $invoice->total) {
|
||||
throw new \InvalidArgumentException(sprintf(
|
||||
'Số dư không đủ. Hiện có: %s VNĐ, cần: %s VNĐ.',
|
||||
number_format((int) $customer->total),
|
||||
number_format((int) $invoice->total)
|
||||
));
|
||||
}
|
||||
|
||||
return DB::transaction(function () use ($invoice, $customer, $method) {
|
||||
$customer->decrement('total', (int) $invoice->total);
|
||||
|
||||
$invoice->update([
|
||||
'status' => InvoiceStatus::PAID->value,
|
||||
'paid_at' => now(),
|
||||
'payment_method' => $method,
|
||||
]);
|
||||
|
||||
$this->recordTransaction($invoice, $method, 'Khách hàng thanh toán hóa đơn #' . $invoice->invoice_number);
|
||||
|
||||
CustomerActivityLog::create([
|
||||
'agent' => 'api',
|
||||
'client_ip' => request()?->ip(),
|
||||
'customer_id' => $customer->id,
|
||||
'description' => sprintf(
|
||||
'Thanh toán hóa đơn #%s. Số tiền: %s VNĐ. Số dư còn: %s VNĐ.',
|
||||
$invoice->invoice_number,
|
||||
number_format((int) $invoice->total),
|
||||
number_format((int) $customer->fresh()->total)
|
||||
),
|
||||
]);
|
||||
|
||||
if ((int) $invoice->invoice_type === 2) {
|
||||
$this->activateRenewal($invoice);
|
||||
} elseif ($invoice->order) {
|
||||
$this->activateOrder($invoice);
|
||||
}
|
||||
|
||||
return $invoice->fresh(['order.orderItems.product', 'services', 'customer']);
|
||||
});
|
||||
}
|
||||
|
||||
public function markPaidByAdmin(Invoice $invoice, ?int $adminId = null, string $method = 'admin'): Invoice
|
||||
{
|
||||
if ((int) $invoice->status === InvoiceStatus::PAID->value) {
|
||||
return $invoice->fresh(['order.orderItems.product', 'services', 'customer']);
|
||||
}
|
||||
|
||||
return DB::transaction(function () use ($invoice, $adminId, $method) {
|
||||
$invoice->update([
|
||||
'status' => InvoiceStatus::PAID->value,
|
||||
'paid_at' => now(),
|
||||
'payment_method' => $invoice->payment_method ?: $method,
|
||||
]);
|
||||
|
||||
$this->recordTransaction($invoice, $method, 'Admin xác nhận thanh toán hóa đơn #' . $invoice->invoice_number, $adminId);
|
||||
|
||||
if ((int) $invoice->invoice_type === 2) {
|
||||
$this->activateRenewal($invoice);
|
||||
} elseif ($invoice->order) {
|
||||
$this->activateOrder($invoice);
|
||||
}
|
||||
|
||||
return $invoice->fresh(['order.orderItems.product', 'services', 'customer']);
|
||||
});
|
||||
}
|
||||
|
||||
public function recordTransaction(Invoice $invoice, string $method, string $note, ?int $adminId = null): Transaction
|
||||
{
|
||||
return Transaction::firstOrCreate(
|
||||
[
|
||||
'customer_id' => $invoice->customer_id,
|
||||
'trans' => $invoice->invoice_number,
|
||||
'type' => 'invoice',
|
||||
],
|
||||
[
|
||||
'uuid' => (string) Str::uuid(),
|
||||
'public_code' => 'INV-PAY-' . now()->format('Ymd') . '-' . strtoupper(Str::random(6)),
|
||||
'amount' => (int) $invoice->total,
|
||||
'user_id' => $adminId,
|
||||
'status' => TransactionStatus::COMPLETED->value,
|
||||
'note' => $note . ' (' . $method . ')',
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
private function activateOrder(Invoice $invoice): void
|
||||
{
|
||||
$order = $invoice->order?->loadMissing(['orderItems.product', 'customer', 'invoice']);
|
||||
if (! $order) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ((int) $order->status !== OrderStatus::ACTIVE->value) {
|
||||
$order->update([
|
||||
'status' => OrderStatus::ACTIVE->value,
|
||||
'payment_method' => $invoice->payment_method,
|
||||
]);
|
||||
}
|
||||
|
||||
foreach ($order->orderItems as $item) {
|
||||
$service = Service::firstOrCreate(
|
||||
['order_item_id' => $item->id],
|
||||
[
|
||||
'customer_id' => $order->customer_id,
|
||||
'product_id' => $item->product_id,
|
||||
'invoice_id' => $invoice->id,
|
||||
'server_name' => $item->server_name,
|
||||
'status' => $item->os_id ? 'pending' : 'active',
|
||||
'auto_renew' => false,
|
||||
'started_at' => now(),
|
||||
'expires_at' => now()->addMonths($item->months ?: $this->cycleToMonths($item->billing_cycle)),
|
||||
]
|
||||
);
|
||||
|
||||
$this->attachServiceAddons($service, $item);
|
||||
|
||||
if ($service->wasRecentlyCreated && $item->product_id && $item->os_id) {
|
||||
dispatch(new CreateVirtualMachineJob($item));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private function activateRenewal(Invoice $invoice): void
|
||||
{
|
||||
$service = Service::query()
|
||||
->with(['orderItem.product'])
|
||||
->where('invoice_id', $invoice->id)
|
||||
->first();
|
||||
|
||||
if (! $service) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($invoice->order && (int) $invoice->order->status !== OrderStatus::ACTIVE->value) {
|
||||
$invoice->order->update([
|
||||
'status' => OrderStatus::ACTIVE->value,
|
||||
'payment_method' => $invoice->payment_method,
|
||||
]);
|
||||
}
|
||||
|
||||
$months = (int) ($invoice->invoiceItems()->where('type', 'renewal')->value('months') ?: $service->orderItem?->months ?: 1);
|
||||
$baseDate = $service->expires_at && $service->expires_at->isFuture()
|
||||
? $service->expires_at
|
||||
: now();
|
||||
$expiresAt = Carbon::parse($baseDate)->addMonths($months);
|
||||
|
||||
$service->update([
|
||||
'status' => 'active',
|
||||
'expires_at' => $expiresAt,
|
||||
'suspended_at' => null,
|
||||
]);
|
||||
|
||||
if ($service->vm_id) {
|
||||
dispatch(new VMJobs((int) $service->vm_id, 'Start', false))->delay(now()->addSeconds(5));
|
||||
}
|
||||
}
|
||||
|
||||
private function attachServiceAddons(Service $service, OrderItem $item): void
|
||||
{
|
||||
if ($service->addons()->exists()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$product = $item->product;
|
||||
if ($product) {
|
||||
foreach (['cpu' => $product->cpu, 'ram' => $product->ram, 'disk' => $product->disk, 'bandwidth' => $product->bandwidth] as $type => $value) {
|
||||
if ($value !== null && $value !== '') {
|
||||
ServiceAddon::create([
|
||||
'service_id' => $service->id,
|
||||
'addon_type' => $type,
|
||||
'addon_value' => (string) $value,
|
||||
'price' => 0,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private function cycleToMonths(?string $cycle): int
|
||||
{
|
||||
return match ($cycle) {
|
||||
'monthly' => 1,
|
||||
'quarterly' => 3,
|
||||
'semi_annually' => 6,
|
||||
'annually' => 12,
|
||||
'biennially' => 24,
|
||||
'triennially' => 36,
|
||||
default => 1,
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -2,8 +2,11 @@
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Enums\Invoice\InvoiceStatus;
|
||||
use App\Enums\Order\OrderStatus;
|
||||
use App\Enums\Product\ProductBillingCycle;
|
||||
use App\Enums\Product\ProductTypeEnums;
|
||||
use App\Enums\TransactionStatus;
|
||||
use App\Http\Helpers\Helper;
|
||||
use App\Jobs\Hosting\CreateHostingJobs;
|
||||
use App\Jobs\Mail\Customer\OrderCreatedJob;
|
||||
@@ -12,6 +15,7 @@ use App\Models\Customer;
|
||||
use App\Models\Order;
|
||||
use App\Models\OrderItem;
|
||||
use App\Models\Payment;
|
||||
use App\Models\Transaction;
|
||||
use App\Repositories\Invoice\InvoiceRepositoryInterface;
|
||||
use App\Repositories\InvoiceItem\InvoiceItemRepositoryInterface;
|
||||
use App\Repositories\Module\Hosting\HostingRepositoryInterface as ModuleHostingRepositoryInterface;
|
||||
@@ -20,6 +24,7 @@ use App\Repositories\Order\OrderRepositoryInterface;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class OrderService
|
||||
{
|
||||
@@ -41,8 +46,13 @@ class OrderService
|
||||
$paymentRecord = Payment::find((int) $data['payment_method']);
|
||||
$isBalancePayment = $paymentRecord && (int) $paymentRecord->type === 0;
|
||||
|
||||
// Balance payment → auto-confirm order & invoice
|
||||
$effectiveStatus = $isBalancePayment ? 1 : (int) $data['status'];
|
||||
// Balance payment → auto-confirm order, otherwise use requested order status.
|
||||
$effectiveOrderStatus = $isBalancePayment ? OrderStatus::ACTIVE->value : (int) $data['status'];
|
||||
$effectiveInvoiceStatus = match ($effectiveOrderStatus) {
|
||||
OrderStatus::ACTIVE->value => InvoiceStatus::PAID->value,
|
||||
OrderStatus::CANCELLED->value => InvoiceStatus::CANCELLED->value,
|
||||
default => InvoiceStatus::UNPAID->value,
|
||||
};
|
||||
|
||||
[$productItems, $relIdData, $total] = $this->buildProductItems($data);
|
||||
|
||||
@@ -50,14 +60,14 @@ class OrderService
|
||||
|
||||
$invoiceData = [
|
||||
'invoice_number' => Helper::generateUniqueCode(),
|
||||
'due_date' => Carbon::today()->toDateString(),
|
||||
'paid_at' => $effectiveStatus === 1 ? Carbon::now() : null,
|
||||
'due_date' => Carbon::today()->addDays(7)->toDateString(),
|
||||
'paid_at' => $effectiveInvoiceStatus === InvoiceStatus::PAID->value ? Carbon::now() : null,
|
||||
'sub_total' => $total,
|
||||
'tax' => $total * (10 / 100),
|
||||
'total' => $orderTotal,
|
||||
'payment_method' => $paymentRecord?->id,
|
||||
'customer_id' => $data['customer_id'],
|
||||
'status' => $effectiveStatus,
|
||||
'status' => $effectiveInvoiceStatus,
|
||||
];
|
||||
|
||||
$orderData = [
|
||||
@@ -69,11 +79,11 @@ class OrderService
|
||||
'payment_method' => $paymentRecord?->code ?? null,
|
||||
'payment_proof' => $data['payment_proof'] ?? null,
|
||||
'user_id' => Auth::guard('admin')->id(),
|
||||
'status' => $effectiveStatus,
|
||||
'status' => $effectiveOrderStatus,
|
||||
'client_ip' => request()->getClientIp(),
|
||||
];
|
||||
|
||||
$order = DB::transaction(function () use ($invoiceData, $orderData, $productItems, $relIdData, $data, $orderTotal, $isBalancePayment) {
|
||||
$order = DB::transaction(function () use ($invoiceData, $orderData, $productItems, $relIdData, $data, $orderTotal, $isBalancePayment, $effectiveInvoiceStatus) {
|
||||
$invoice = $this->invoiceRepository->create($invoiceData);
|
||||
|
||||
$productItems = array_map(fn ($item) => array_merge($item, ['invoice_id' => $invoice->id]), $productItems);
|
||||
@@ -136,6 +146,24 @@ class OrderService
|
||||
$customer->decrement('total', $orderTotal);
|
||||
}
|
||||
|
||||
if ($effectiveInvoiceStatus === InvoiceStatus::PAID->value) {
|
||||
Transaction::firstOrCreate(
|
||||
[
|
||||
'customer_id' => $data['customer_id'],
|
||||
'trans' => $invoice->invoice_number,
|
||||
'type' => 'invoice',
|
||||
],
|
||||
[
|
||||
'uuid' => (string) Str::uuid(),
|
||||
'public_code' => 'INV-PAY-' . now()->format('Ymd') . '-' . strtoupper(Str::random(6)),
|
||||
'amount' => $orderTotal,
|
||||
'user_id' => Auth::guard('admin')->id(),
|
||||
'status' => TransactionStatus::COMPLETED->value,
|
||||
'note' => 'Admin tạo đơn hàng và xác nhận thanh toán hóa đơn #' . $invoice->invoice_number,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
return $order;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user