wip filter

This commit is contained in:
salam committed 2026-01-10 13:17:09 +01:00
1 parent c4d7f2e6ee
commit d2caac4bcc
20 files changed
+567 -119

No files matched your search

@@ -17,6 +17,7 @@ return new class extends Migration
$table->string('name');
$table->string('short');
$table->string('table');
$table->string('matchpart');
$table->integer('rows')->default(4);
$table->integer('has_3_columns')->default(0);
$table->timestamps();
+26 -17
View File
@@ -12,24 +12,33 @@ class MatchpartSeeder extends Seeder
/**
* Clients
*/
$sql = "INSERT INTO `matchparts` (`id`, `short`, `name`, `color`, `is_active`, `soccer`, `icehockey`, `basketball`, `tennis`, `handball`, `rugby`, `created_at`, `updated_at`)
$sql = "INSERT INTO `multiline_settings` (`id`, `sport_id`, `name`, `short`, `table`, `matchpart`, `rows`, `has_3_columns`, `created_at`, `updated_at`)
VALUES
('1', 'FT', 'Fulltime', 'primary', '1', '1', '1', '1', '1', '1', '0', NULL, NULL),
('2', 'HT', 'Halftime', 'success', '1', '1', '0', '1', '0', '1', '0', NULL, NULL),
('3', 'H2', 'Second Half', 'warning', '1', '1', '0', '1', '0', '1', '0', NULL, NULL),
('4', 'CO', 'Combo', 'info', '1', '1', '1', '1', '0', '0', '0', NULL, NULL),
('5', 'Q1', 'Quarter 1', 'quarter', '1', '0', '0', '1', '0', '0', '0', NULL, NULL),
('6', 'Q2', 'Quarter 2', 'quarter', '0', '0', '0', '1', '0', '0', '0', NULL, NULL),
('7', 'Q3', 'Quarter 3', 'quarter', '0', '0', '0', '1', '0', '0', '0', NULL, NULL),
('8', 'Q4', 'Quarter 4', 'quarter', '0', '0', '0', '1', '0', '0', '0', NULL, NULL),
('9', 'P1', 'Period 1', 'period', '1', '0', '1', '0', '0', '0', '0', NULL, NULL),
('10', 'P2', 'Period 2', 'period', '0', '0', '1', '0', '0', '0', '0', NULL, NULL),
('11', 'P3', 'Period 3', 'period', '0', '0', '1', '0', '0', '0', '0', NULL, NULL),
('12', 'S1', 'Set 1', 'set', '1', '0', '0', '0', '1', '0', '0', NULL, NULL),
('13', 'S2', 'Set 2', 'set', '0', '0', '0', '0', '1', '0', '0', NULL, NULL),
('14', 'S3', 'Set 3', 'set', '0', '0', '0', '0', '1', '0', '0', NULL, NULL),
('15', 'S4', 'Set 4', 'set', '0', '0', '0', '0', '1', '0', '0', NULL, NULL),
('16', 'S5', 'Set 5', 'set', '0', '0', '0', '0', '1', '0', '0', NULL, NULL);
(1, 1, '1X2', '1X2', 'odds_3ways', 'Fulltime', 4, 1, '2025-12-14 09:25:48', '2025-12-14 09:25:48'),
(2, 1, 'TOTALS', 'OU', 'odds_totals', 'Fulltime', 4, 1, '2025-12-14 09:32:38', '2025-12-14 09:32:38'),
(3, 1, '1X2 HALF TIME', '1X2 HT', 'odds_3ways_ht', 'Halftime', 4, 1, '2025-12-14 09:25:48', '2025-12-14 09:25:48'),
(4, 1, 'TOTALS HALF TIME', 'OU HT', 'odds_totals_ht', 'Halftime', 4, 1, '2025-12-14 09:32:38', '2025-12-14 09:32:38'),
(5, 1, 'GOAL NO GOAL', 'GGNG', 'odds_ggng', 'Fulltime', 4, 0, '2025-12-14 09:31:56', '2025-12-14 09:31:56'),
(6, 1, 'DOUBLE CHANCE', 'DC', 'odds_dc', 'Fulltime', 4, 1, '2025-12-14 09:31:22', '2025-12-14 09:32:55'),
(7, 1, 'TO QUALIFY', 'TQ', 'odds_tq', 'Fulltime', 4, 0, '2025-12-14 09:32:19', '2025-12-14 09:32:19'),
(8, 1, 'DRAW NO BET', 'DNB', 'odds_dnb', 'Fulltime', 4, 0, '2025-12-14 09:31:42', '2025-12-14 09:31:42'),
(9, 2, '1X2', '1X2', 'odds_3ways', 'Fulltime', 4, 1, '2025-12-14 09:41:34', '2025-12-14 09:41:34'),
(10, 2, 'MONEY LINE', 'ML', 'odds_2ways', 'Fulltime', 4, 0, '2025-12-14 09:41:21', '2025-12-14 09:41:21'),
(11, 2, 'POINTS', 'HC', 'odds_points', 'Fulltime', 4, 1, '2025-12-14 09:41:56', '2025-12-14 09:41:56'),
(12, 2, 'TOTALS', 'OU', 'odds_totals', 'Fulltime', 4, 1, '2025-12-14 09:42:13', '2025-12-14 09:42:13'),
(13, 2, 'POINTS FIRST QUARTER', 'HC Q1', 'odds_points_q1', 'First Quarter', 4, 1, '2025-12-14 09:41:56', '2025-12-14 09:41:56'),
(14, 2, 'TOTALS FIRST QUARTER', 'OU Q1', 'odds_totals_q1', 'First Quarter', 4, 1, '2025-12-14 09:42:13', '2025-12-14 09:42:13'),
(15, 3, 'MONEY LINE', 'ML', 'odds_2ways', 'Fulltime', 4, 0, '2025-12-14 09:37:32', '2025-12-14 09:37:32'),
(16, 3, 'POINTS', 'HC', 'odds_points', 'Fulltime', 4, 1, '2025-12-14 09:38:05', '2025-12-14 09:38:05'),
(17, 3, 'TOTALS', 'OU', 'odds_totals', 'Fulltime', 4, 1, '2025-12-14 09:38:44', '2025-12-14 09:38:44'),
(18, 3, 'POINTS FIRST QUARTER', 'HC Q1', 'odds_points_q1', 'First Quarter', 4, 1, '2025-12-14 09:38:26', '2025-12-14 09:39:54'),
(19, 3, 'TOTALS FIRST QUARTER', 'OU Q1', 'odds_totals_q1', 'First Quarter', 4, 1, '2025-12-14 09:39:12', '2025-12-14 09:39:59'),
(20, 3, 'POINTS HALF TIME', 'HC HT', 'odds_points_ht', 'Halftime', 4, 1, '2025-12-14 09:38:26', '2025-12-14 09:39:54'),
(21, 3, 'TOTALS HALF TIME', 'OU HT', 'odds_totals_ht', 'Halftime', 4, 1, '2025-12-14 09:39:12', '2025-12-14 09:39:59'),
(22, 5, 'MONEY LINE', 'ML', 'odds_2ways', 'Fulltime', 4, 0, '2025-12-14 09:43:52', '2025-12-14 09:43:52'),
(23, 5, 'MONEY LINE SET 1', 'ML S1', 'odds_2ways_s1', 'Set 1', 4, 0, '2025-12-14 09:44:13', '2025-12-14 09:44:13'),
(24, 5, 'TOTALS', 'OU', 'odds_totals', 'Fulltime', 4, 1, '2025-12-14 09:44:26', '2025-12-14 09:44:26'),
(25, 5, 'POINTS', 'HC', 'odds_points', 'Fulltime', 4, 1, '2025-12-14 09:44:26', '2025-12-14 09:44:26');
";
DB::unprepared($sql);