донат шоп, управление магазином, яндекс метрика

This commit is contained in:
2026-07-19 19:17:29 +04:00
parent 8bf1b852f0
commit df7f98fe8b
48 changed files with 1859 additions and 18 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PaymentInvoice extends Model
{
public const STATUS_PENDING = 'pending';
public const STATUS_PAID = 'paid';
public const MODE_TEST = 'test';
public const MODE_PRODUCTION = 'production';
protected $connection = 'azerothcore_auth';
protected $table = 'payment_invoices';
protected $guarded = [];
protected function casts(): array
{
return ['amount' => 'decimal:2', 'paid_at' => 'datetime'];
}
}