@extends('admin.layouts.main.admin_theme') @section('admin_content')

Bookmaker Management

@csrf {{-- Header --}}

Edit Bookmaker: {{ $data->name ?? $data->bookmaker_name }}

Cancel
{{-- Section 1: General Information --}}
General Information
Name, affiliate link and status shown across the site.
{{-- Section 2: API Identifiers --}}
API Identifiers
Exact strings returned by each API for this bookmaker.
Exact title field from the-odds-api.com response
Exact bookmaker key from WagerWise API response
{{-- Section 3: Logos --}} @php $hasLarge = !empty($data->logo_path); $hasSmall = !empty($data->logo_square_path); $largeSrc = $hasLarge ? $data->logo_url : ''; $smallSrc = $hasSmall ? $data->small_logo_url : ''; $placeholderDataUri = 'data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\'/%3E'; @endphp
Logos
Upload logos for this bookmaker. Leave blank to keep existing.
@if(!$data->parent_id) {{-- Section 4: Sub-bookmakers (parent only) --}}
Sub-bookmakers Optional
Sub-bookmakers mirror this bookmaker's odds on the frontend.
{{-- Existing Sub Bookmakers --}} @if(isset($data->children) && $data->children->count()) @foreach ($data->children as $child) @php $cHasLarge = !empty($child->logo_path); $cHasSmall = !empty($child->logo_square_path); $cLargeSrc = $cHasLarge ? $child->logo_url : ''; $cSmallSrc = $cHasSmall ? $child->small_logo_url : ''; @endphp
{{ $child->name ?? $child->bookmaker_name }}
JPG, PNG, SVG, ICO, GIF, WEBP — max 2MB (400 × 200px)
Large logo must be 400 × 200 pixels.
@if($cHasLarge) Large Logo Preview @else No logo uploaded Large Logo Preview @endif
Square only (1:1) — JPG, PNG, GIF, WEBP — max 2MB
Square logo must have equal width & height.
@if($cHasSmall) Square Logo Preview @else No logo uploaded Square Logo Preview @endif
@endforeach @endif
@endif
@endsection @section('scripts') @endsection