tennant/onticket #9

Merged
ncoronel merged 42 commits from tennant/onticket into homo 2026-09-23 18:43:47 +00:00
92 changed files with 1505 additions and 500 deletions
Showing only changes of commit 4659c1049d - Show all commits

View File

@@ -0,0 +1,20 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
public function up(): void
{
DB::table('tenants')
->where('codigo', 'onticket')
->where('storefront_website_type_code', 'onticket_multi_event')
->update(['display_categories' => true, 'updated_at' => now()]);
}
public function down(): void
{
// Retain the tenant setting because an administrator may have changed it.
}
};

View File

@@ -77,7 +77,7 @@ class TenantSeeder extends Seeder
'success_color' => $onTicketType->success_color,
'header_bg_color' => $onTicketType->surface_color,
'footer_bg_color' => $onTicketType->surface_color,
'display_categories' => false,
'display_categories' => true,
'display_seach_bar' => true,
'admin_website_type_code' => $onTicketType->codigo,
'storefront_website_type_code' => 'onticket_multi_event',