wip
This commit is contained in:
1 parent
368af4b565
commit
aba3a87745
9 files changed
+142
-95
No files matched your search
@@ -76,7 +76,8 @@ class EventsTable
|
|||||||
->tooltip(fn ($record) => $record->id)
|
->tooltip(fn ($record) => $record->id)
|
||||||
->visibleFrom('lg'),
|
->visibleFrom('lg'),
|
||||||
|
|
||||||
MatchIds::make('ids')->grow(false)->visibleFrom('xl'),
|
MatchIds::make('ids')->grow(false)->visibleFrom('xl')
|
||||||
|
->visible(fn () => auth()->user()->hasRole('super_admin')),
|
||||||
|
|
||||||
TextColumn::make('starttime')
|
TextColumn::make('starttime')
|
||||||
->label('Start')
|
->label('Start')
|
||||||
|
|||||||
@@ -4,9 +4,13 @@ namespace App\Filament\Resources\Users\Schemas;
|
|||||||
|
|
||||||
use App\Models\Bookmaker;
|
use App\Models\Bookmaker;
|
||||||
use App\Models\Client;
|
use App\Models\Client;
|
||||||
|
use Filament\Forms\Components\Hidden;
|
||||||
use Filament\Forms\Components\Select;
|
use Filament\Forms\Components\Select;
|
||||||
use Filament\Forms\Components\TextInput;
|
use Filament\Forms\Components\TextInput;
|
||||||
|
use Filament\Schemas\Components\Section;
|
||||||
use Filament\Schemas\Schema;
|
use Filament\Schemas\Schema;
|
||||||
|
use Illuminate\Support\Facades\Hash;
|
||||||
|
use Illuminate\Validation\Rules\Password;
|
||||||
|
|
||||||
class UserForm
|
class UserForm
|
||||||
{
|
{
|
||||||
@@ -14,40 +18,74 @@ class UserForm
|
|||||||
{
|
{
|
||||||
return $schema
|
return $schema
|
||||||
->components([
|
->components([
|
||||||
TextInput::make('name')
|
Hidden::make('email_verified_at')->default(now()),
|
||||||
->required(),
|
Section::make('User Details')
|
||||||
TextInput::make('email')
|
->columnSpanFull()
|
||||||
->label('Email address')
|
->columns(2)
|
||||||
->email()
|
->schema([
|
||||||
->required(),
|
TextInput::make('name')
|
||||||
Select::make('client_id')
|
->columns(1)
|
||||||
->relationship('client', 'name')
|
->required(),
|
||||||
->preload(),
|
TextInput::make('email')
|
||||||
Select::make('roles')
|
->label('Email address')
|
||||||
->label('Rollen')
|
->email()
|
||||||
->prefixIcon('phosphor-gear')
|
->required(),
|
||||||
->aboveContent('Only visible for super_admin')
|
TextInput::make('password')
|
||||||
|
->password()
|
||||||
|
->revealable()
|
||||||
|
->dehydrated(fn ($state): bool => filled($state))
|
||||||
|
->dehydrateStateUsing(fn ($state): string => Hash::make($state))
|
||||||
|
->same('password_confirmation')
|
||||||
|
->rule(Password::min(8)
|
||||||
|
->mixedCase()
|
||||||
|
->numbers()
|
||||||
|
->symbols()
|
||||||
|
->uncompromised())
|
||||||
|
->label('Password'),
|
||||||
|
TextInput::make('password_confirmation')
|
||||||
|
->password()
|
||||||
|
->dehydrated(false)
|
||||||
|
->same('password')
|
||||||
|
->revealable(),
|
||||||
|
]),
|
||||||
|
Section::make('Bookmaker Configuration')
|
||||||
|
->columnSpanFull()
|
||||||
|
->columns(2)
|
||||||
|
->schema([
|
||||||
|
Select::make('client_id')
|
||||||
|
->relationship('client', 'name')
|
||||||
|
->preload(),
|
||||||
|
|
||||||
|
Select::make('bookmaker_id')
|
||||||
|
->label('Active Bookmaker')
|
||||||
|
->options(fn () => Bookmaker::query()->where('is_client', 1)->pluck('name', 'id'))
|
||||||
|
->preload(),
|
||||||
|
Select::make('partner_bookmaker_id')
|
||||||
|
->label('Partner Bookmaker')
|
||||||
|
->options(function () {
|
||||||
|
$bookmaker = Client::where('id', auth()->user()->client_id)->value('bookmaker');
|
||||||
|
|
||||||
|
return Bookmaker::query()->whereIn('id', $bookmaker)->pluck('name', 'id');
|
||||||
|
})
|
||||||
|
->preload(),
|
||||||
|
Select::make('provider_id')
|
||||||
|
->relationship('provider', 'name')
|
||||||
|
->preload(),
|
||||||
|
]),
|
||||||
|
Section::make('Authorisations')
|
||||||
->visible(fn () => auth()->user()->hasRole('super_admin'))
|
->visible(fn () => auth()->user()->hasRole('super_admin'))
|
||||||
->relationship('roles', 'name')
|
->columnSpanFull()
|
||||||
->multiple()
|
->schema([
|
||||||
->preload()
|
Select::make('roles')
|
||||||
->searchable(),
|
->label('Rollen')
|
||||||
Select::make('bookmaker_id')
|
->prefixIcon('phosphor-gear')
|
||||||
->label('Active Bookmaker')
|
->aboveContent('Only visible for super_admin')
|
||||||
->options(function () {
|
->visible(fn () => auth()->user()->hasRole('super_admin'))
|
||||||
$bookmaker = Client::where('id', auth()->user()->client_id)->value('bookmaker');
|
->relationship('roles', 'name')
|
||||||
|
->multiple()
|
||||||
return Bookmaker::query()->whereIn('id', $bookmaker)->pluck('name', 'id');
|
->preload()
|
||||||
})
|
->searchable(),
|
||||||
->preload(),
|
]),
|
||||||
Select::make('partner_bookmaker_id')
|
|
||||||
->label('Partner Bookmaker')
|
|
||||||
->options(function () {
|
|
||||||
$bookmaker = Client::where('id', auth()->user()->client_id)->value('bookmaker');
|
|
||||||
|
|
||||||
return Bookmaker::query()->whereIn('id', $bookmaker)->pluck('name', 'id');
|
|
||||||
})
|
|
||||||
->preload(),
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -270,15 +270,15 @@ class TooltipOdds extends Column
|
|||||||
|
|
||||||
if ($this->size > $this->two_cols_break) {
|
if ($this->size > $this->two_cols_break) {
|
||||||
if ($columns == 6) {
|
if ($columns == 6) {
|
||||||
$part = '<div class="grid grid-cols-15 gap-2 m-5 mt-1 z-100 text-xs text-center striped">';
|
$part = '<div class="grid grid-cols-15 gap-2 m-5 mt-1 z-100 text-xs text-center">';
|
||||||
} else {
|
} else {
|
||||||
$part = '<div class="grid grid-cols-13 gap-2 m-5 mt-1 z-100 text-xs text-center striped">';
|
$part = '<div class="grid grid-cols-13 gap-2 m-5 mt-1 z-100 text-xs text-center">';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($columns == 6) {
|
if ($columns == 6) {
|
||||||
$part = '<div class="grid grid-cols-7 gap-2 m-5 mt-1 z-100 text-xs text-center striped">';
|
$part = '<div class="grid grid-cols-7 gap-2 m-5 mt-1 z-100 text-xs text-center">';
|
||||||
} else {
|
} else {
|
||||||
$part = '<div class="grid grid-cols-6 gap-2 m-5 mt-1 z-100 text-xs text-center striped">';
|
$part = '<div class="grid grid-cols-6 gap-2 m-5 mt-1 z-100 text-xs text-center">';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$part .= '<div class="col-span-full text-center text-md font-bold mb-2">'.$title.'</div>';
|
$part .= '<div class="col-span-full text-center text-md font-bold mb-2">'.$title.'</div>';
|
||||||
|
|||||||
@@ -151,6 +151,11 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function provider()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Provider::class);
|
||||||
|
}
|
||||||
|
|
||||||
public function client()
|
public function client()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Client::class);
|
return $this->belongsTo(Client::class);
|
||||||
|
|||||||
Generated
+3
-3
@@ -12982,12 +12982,12 @@
|
|||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"stability-flags": {},
|
"stability-flags": [],
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "^8.3"
|
"php": "^8.3"
|
||||||
},
|
},
|
||||||
"platform-dev": {},
|
"platform-dev": [],
|
||||||
"plugin-api-version": "2.9.0"
|
"plugin-api-version": "2.6.0"
|
||||||
}
|
}
|
||||||
@@ -15,6 +15,7 @@ return new class extends Migration
|
|||||||
$table->id();
|
$table->id();
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('name_short')->nullable();
|
$table->string('name_short')->nullable();
|
||||||
|
$table->boolean('is_client')->default(0);
|
||||||
$table->string('icon')->nullable();
|
$table->string('icon')->nullable();
|
||||||
$table->string('svg')->nullable();
|
$table->string('svg')->nullable();
|
||||||
$table->integer('baid')->default(0);
|
$table->integer('baid')->default(0);
|
||||||
|
|||||||
@@ -9,57 +9,58 @@ class BookmakerSeeder extends Seeder
|
|||||||
{
|
{
|
||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
$sql = "INSERT INTO `bookmakers` (`id`, `name`, `name_short`, `icon`, `svg`, `baid`, `txso`, `txot`, `betsapi`, `direct`, `is_active`, `in_soccer`, `in_other`, `need_check`, `deleted`, `created_at`, `updated_at`)
|
$sql = "INSERT INTO `bookmakers` (`id`, `name`, `name_short`, `is_client`, `icon`, `svg`, `baid`, `txso`, `txot`, `betsapi`, `direct`, `is_active`, `in_soccer`, `in_other`, `need_check`, `deleted`, `created_at`, `updated_at`)
|
||||||
VALUES
|
VALUES
|
||||||
(1, 'MISSING', '', 'missing', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2025-08-23 10:07:59'),
|
(1, 'MISSING', '', 0, 'missing', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2025-08-23 10:07:59'),
|
||||||
(5, 'Expekt', '', 'expekt', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:02:55'),
|
(5, 'Expekt', '', 0, 'expekt', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:02:55'),
|
||||||
(6, 'UniBet', '', 'unibet', NULL, 10, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:08:47'),
|
(6, 'UniBet', '', 0, 'unibet', NULL, 10, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:08:47'),
|
||||||
(10, 'Magloo Nigeria', 'MagNig', 'magloo-nig', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:32'),
|
(10, 'Magloo Nigeria', 'MagNig', 1, 'magloo-nig', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:32'),
|
||||||
(13, 'Sportingbet', '', 'sportingbet', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:08:30'),
|
(13, 'Sportingbet', '', 0, 'sportingbet', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:08:30'),
|
||||||
(14, 'Betika', '', 'betika', NULL, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:01:21'),
|
(14, 'Betika', '', 0, 'betika', NULL, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:01:21'),
|
||||||
(15, 'Intertops', '', 'intertops', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2026-01-21 08:05:13'),
|
(15, 'Intertops', '', 0, 'intertops', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2026-01-21 08:05:13'),
|
||||||
(16, 'Magloo Kenia', 'MagKen', 'magloo-kenia', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:31'),
|
(16, 'Magloo Kenia', 'MagKen', 1, 'magloo-kenia', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:31'),
|
||||||
(17, 'Ladbrokes', '', 'ladbrokes', NULL, 7, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:40'),
|
(17, 'Ladbrokes', '', 0, 'ladbrokes', NULL, 7, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:40'),
|
||||||
(26, 'Interwetten', '', 'interwetten', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:03:06'),
|
(26, 'Interwetten', '', 0, 'interwetten', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:03:06'),
|
||||||
(30, 'BWin', '', 'bwin', NULL, 3, 1, 1, 1, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:16:22'),
|
(30, 'BWin', '', 0, 'bwin', NULL, 3, 1, 1, 1, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:16:22'),
|
||||||
(35, 'Logifuture Nigeria', 'LogNig', 'logifuture-nig', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:31'),
|
(35, 'Logifuture Nigeria', 'LogNig', 1, 'logifuture-nig', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:31'),
|
||||||
(36, 'Logifuture Colombia', 'LogCol', 'logifuture-col', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:30'),
|
(36, 'Logifuture Colombia', 'LogCol', 1, 'logifuture-col', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:05:30'),
|
||||||
(42, 'William Hill', '', 'willhill', NULL, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:18:14'),
|
(42, 'William Hill', '', 0, 'willhill', NULL, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:18:14'),
|
||||||
(49, 'Bet At Home', '', 'betathome', NULL, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, NULL, '2026-01-21 19:41:51'),
|
(49, 'Bet At Home', '', 0, 'betathome', NULL, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, NULL, '2026-01-21 19:41:51'),
|
||||||
(83, 'Pinnacle', '', 'pinnacle', NULL, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, NULL, '2026-01-21 08:21:02'),
|
(83, 'Pinnacle', '', 0, 'pinnacle', NULL, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, NULL, '2026-01-21 08:21:02'),
|
||||||
(110, 'BetFair', '', 'betfair', NULL, 4, 1, 0, 1, 0, 1, 1, 0, 1, 0, NULL, '2026-01-21 08:21:12'),
|
(110, 'BetFair', '', 0, 'betfair', NULL, 4, 1, 0, 1, 0, 1, 1, 0, 1, 0, NULL, '2026-01-21 08:21:12'),
|
||||||
(117, 'SNAI', '', 'snai', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:08:28'),
|
(117, 'SNAI', '', 0, 'snai', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:08:28'),
|
||||||
(118, 'Nordicbet', '', 'nordicbet', NULL, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, NULL, '2026-01-21 08:03:29'),
|
(118, 'Nordicbet', '', 0, 'nordicbet', NULL, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, NULL, '2026-01-21 08:03:29'),
|
||||||
(126, 'Bet365', '', 'bet365', NULL, 2, 0, 1, 1, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:02:11'),
|
(126, 'Bet365', '', 0, 'bet365', NULL, 2, 0, 1, 1, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:02:11'),
|
||||||
(128, 'Goldbet', '', 'goldbet', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, NULL, '2026-01-21 08:22:36'),
|
(128, 'Goldbet', '', 0, 'goldbet', NULL, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, NULL, '2026-01-21 08:22:36'),
|
||||||
(234, '5 Dimes', '', '5dimes', NULL, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, NULL, NULL),
|
(234, '5 Dimes', '', 0, '5dimes', NULL, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, NULL, NULL),
|
||||||
(274, '10Bet', '', '10bet', NULL, 6, 0, 0, 0, 0, 0, 0, 0, 1, 0, NULL, '2026-01-21 08:22:47'),
|
(274, '10Bet', '', 0, '10bet', NULL, 6, 0, 0, 0, 0, 0, 0, 0, 1, 0, NULL, '2026-01-21 08:22:47'),
|
||||||
(314, 'Matchbook', '', 'matchbook', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:06:53'),
|
(314, 'Matchbook', '', 0, 'matchbook', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:06:53'),
|
||||||
(327, 'Sbobet', '', 'sbobet', NULL, 14, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:03:43'),
|
(327, 'Sbobet', '', 0, 'sbobet', NULL, 14, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:03:43'),
|
||||||
(340, 'Betway', '', 'betway', NULL, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL),
|
(340, 'Betway', '', 0, 'betway', NULL, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL),
|
||||||
(363, 'Tipico', '', 'tipico', NULL, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:08:45'),
|
(363, 'Tipico', '', 0, 'tipico', NULL, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:08:45'),
|
||||||
(380, 'PartyBets', '', 'partybets', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2026-01-21 08:03:41'),
|
(380, 'PartyBets', '', 0, 'partybets', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2026-01-21 08:03:41'),
|
||||||
(388, 'Eurobet', '', 'eurobet', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:02:52'),
|
(388, 'Eurobet', '', 0, 'eurobet', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:02:52'),
|
||||||
(395, 'BetClick', '', 'betclick', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:01:06'),
|
(395, 'BetClick', '', 0, 'betclick', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:01:06'),
|
||||||
(399, 'Bet3000', '', 'bet3000', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2026-01-21 08:04:27'),
|
(399, 'Bet3000', '', 0, 'bet3000', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2026-01-21 08:04:27'),
|
||||||
(413, 'Better', '', 'better', NULL, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, NULL, '2026-01-21 08:02:42'),
|
(413, 'Better', '', 0, 'better', NULL, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, NULL, '2026-01-21 08:02:42'),
|
||||||
(539, 'Marathonbet', '', 'marathonbet', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:03:25'),
|
(539, 'Marathonbet', '', 0, 'marathonbet', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:03:25'),
|
||||||
(577, 'Sisal', '', 'sisal', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2026-01-21 08:03:55'),
|
(577, 'Sisal', '', 0, 'sisal', NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, '2026-01-21 08:03:55'),
|
||||||
(625, 'Betaland', '', 'betaland', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:01:05'),
|
(625, 'Betaland', '', 0, 'betaland', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:01:05'),
|
||||||
(627, 'PlanetWin365', '', 'planetwin365', NULL, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL),
|
(627, 'PlanetWin365', '', 0, 'planetwin365', NULL, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL),
|
||||||
(649, '1XBet', '', '1xbet', NULL, 18, 1, 1, 0, 0, 1, 1, 1, 2, 0, NULL, '2026-01-21 19:38:24'),
|
(649, '1XBet', '', 0, '1xbet', NULL, 18, 1, 1, 0, 0, 1, 1, 1, 2, 0, NULL, '2026-01-21 19:38:24'),
|
||||||
(658, 'Bet9ja', '', 'bet9ja', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:08:03'),
|
(658, 'Bet9ja', '', 0, 'bet9ja', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:08:03'),
|
||||||
(668, 'SportPesa', '', 'sportpesa', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:08:33'),
|
(668, 'SportPesa', '', 0, 'sportpesa', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:08:33'),
|
||||||
(823, 'BetKing', '', 'betking', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 19:36:10'),
|
(823, 'BetKing', '', 0, 'betking', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 19:36:10'),
|
||||||
(824, 'BetPlay', '', 'betplay', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:02:37'),
|
(824, 'BetPlay', '', 0, 'betplay', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:02:37'),
|
||||||
(825, 'SportyBet', '', 'sportybet', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:08:44'),
|
(825, 'SportyBet', '', 0, 'sportybet', NULL, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, NULL, '2026-01-21 08:08:44'),
|
||||||
(827, 'WPlay', '', 'wplay', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:08:51'),
|
(827, 'WPlay', '', 0, 'wplay', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:08:51'),
|
||||||
(828, 'ColBet', '', 'colbet', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:02:50'),
|
(828, 'ColBet', '', 0, 'colbet', NULL, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, NULL, '2026-01-21 08:02:50'),
|
||||||
(1000, '888Sport', '', '888sport', NULL, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL),
|
(1000, '888Sport', '', 0, '888sport', NULL, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL),
|
||||||
(1001, 'Betsson', '', 'betsson', NULL, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL),
|
(1001, 'Betsson', '', 0, 'betsson', NULL, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL),
|
||||||
(1002, 'DafaBet', '', 'dafabet', NULL, 16, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, NULL),
|
(1002, 'DafaBet', '', 0, 'dafabet', NULL, 16, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, NULL),
|
||||||
(1003, 'BetVictor', '', 'betvictor', NULL, 17, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, NULL),
|
(1003, 'BetVictor', '', 0, 'betvictor', NULL, 17, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, NULL),
|
||||||
(1004, 'TitanBet', '', 'titanbet', NULL, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, NULL);";
|
(1004, 'TitanBet', '', 0, 'titanbet', NULL, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1, NULL, NULL);
|
||||||
|
";
|
||||||
|
|
||||||
DB::unprepared($sql);
|
DB::unprepared($sql);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ class RolesAndPermissionsSeeder extends Seeder
|
|||||||
DB::table('roles')->upsert(
|
DB::table('roles')->upsert(
|
||||||
[
|
[
|
||||||
['name' => 'super_admin', 'guard_name' => 'web'],
|
['name' => 'super_admin', 'guard_name' => 'web'],
|
||||||
|
['name' => 'regular_user', 'guard_name' => 'web'],
|
||||||
['name' => 'konto_switch', 'guard_name' => 'web'],
|
['name' => 'konto_switch', 'guard_name' => 'web'],
|
||||||
['name' => 'mapper_source_betsapi', 'guard_name' => 'web'],
|
['name' => 'mapper_source_betsapi', 'guard_name' => 'web'],
|
||||||
['name' => 'partner_porgramm', 'guard_name' => 'web'],
|
['name' => 'partner_porgramm', 'guard_name' => 'web'],
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
{{-- Event Mapper --}}
|
{{-- Event Mapper --}}
|
||||||
|
|
||||||
<x-filament::modal width="7xl" :close-by-clicking-away="false" :close-by-escaping="true" :close-button="true">
|
<x-filament::modal width="7xl" :close-by-clicking-away="true" :close-by-escaping="true" :close-button="true">
|
||||||
<x-slot name="trigger">
|
<x-slot name="trigger">
|
||||||
<x-filament::icon-button outlined icon="phosphor-arrows-in-line-horizontal" color="gray"
|
<x-filament::icon-button outlined icon="phosphor-arrows-in-line-horizontal" color="gray"
|
||||||
class="my-auto" title="Event Mapper">
|
class="my-auto" title="Event Mapper">
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
</x-filament::modal>
|
</x-filament::modal>
|
||||||
|
|
||||||
{{-- Multiline --}}
|
{{-- Multiline --}}
|
||||||
<x-filament::modal slide-over width="4xl" :close-by-clicking-away="false" :close-by-escaping="true" :close-button="true">
|
<x-filament::modal slide-over width="4xl" :close-by-clicking-away="true" :close-by-escaping="true" :close-button="true">
|
||||||
<x-slot name="trigger">
|
<x-slot name="trigger">
|
||||||
<x-filament::icon-button outlined icon="phosphor-equals" color="gray" class="my-auto"
|
<x-filament::icon-button outlined icon="phosphor-equals" color="gray" class="my-auto"
|
||||||
title="Multiline Settings">
|
title="Multiline Settings">
|
||||||
@@ -178,7 +178,7 @@
|
|||||||
|
|
||||||
{{-- Alarm --}}
|
{{-- Alarm --}}
|
||||||
|
|
||||||
<x-filament::modal slide-over width="4xl" icon="phosphor-siren">
|
<x-filament::modal slide-over width="4xl" icon="phosphor-siren" :close-by-clicking-away="true" :close-by-escaping="true" :close-button="true">
|
||||||
<x-slot name="trigger">
|
<x-slot name="trigger">
|
||||||
<x-filament::icon-button outlined icon="phosphor-siren" color="gray" class="my-auto"
|
<x-filament::icon-button outlined icon="phosphor-siren" color="gray" class="my-auto"
|
||||||
title="Alarm Settings">
|
title="Alarm Settings">
|
||||||
@@ -194,7 +194,7 @@
|
|||||||
|
|
||||||
{{-- Calculation --}}
|
{{-- Calculation --}}
|
||||||
|
|
||||||
<x-filament::modal slide-over width="4xl" icon="phosphor-sliders" title="Comparing Bookmaker">
|
<x-filament::modal slide-over width="4xl" icon="phosphor-sliders" title="Comparing Bookmaker" :close-by-clicking-away="true" :close-by-escaping="true" :close-button="true">
|
||||||
<x-slot name="trigger">
|
<x-slot name="trigger">
|
||||||
<x-filament::icon-button icon="phosphor-sliders" color="gray" class="my-auto" wire:click="setUser"
|
<x-filament::icon-button icon="phosphor-sliders" color="gray" class="my-auto" wire:click="setUser"
|
||||||
title="Comparing Bookmaker">
|
title="Comparing Bookmaker">
|
||||||
|
|||||||
Reference in new issue
Block a user