{{-- Stampcard ("dsc") Main Game admin dashboard — top-level wrapper. This Blade is rendered by SettingController::_view_main_game() when the project's active main game is 'dsc'. Has per-grid Edit modal as a partial. Why split into partials? - The Edit-Grid modal is shared across cards/grids, so it sits in its own partial and is rendered ONCE at the bottom. Data flow --------- AJAX GET /admin/ajax/settings/main_game (case 'dsc') -> response.main_game.setting_details, .cards, .modules, .voucher_series -> populatePage() in view_settings.blade.php (game_stampcard branch) -> stampcard_admin.js fills every form field Save Changes button -> AJAX POST same URL. Per-grid edits go through their own endpoints (stampcard_admin.js). --}} @push('script') @endpush
{{-- LEFT: form (Overall Settings / Cards & Grids) --}}
@csrf
Main Game: Stampcard
@include('admin.setting.components._dsc_overall_settings')
@include('admin.setting.components._dsc_cards_and_grids')
@include('admin.setting.components._dsc_tutorial')
@include('admin.setting.components._dsc_bonus_rewards')
{{-- RIGHT: live Preview rail --}}
@include('admin.setting.components._dsc_preview')
{{-- Modal lives outside the form so its inputs aren't sent on Save Changes. --}} @include('admin.setting.components._dsc_edit_grid_modal')