@php $game_id = $game ? $game->id : null; $game_name = GetFromRequestOrVar($game, 'game_name', ''); $provider_game_id_desktop = GetFromRequestOrVar($game, 'provider_game_id_desktop', ''); $provider_game_id_mobile = GetFromRequestOrVar($game, 'provider_game_id_mobile', ''); $type_mobile = GetFromRequestOrVar($game, 'type_mobile', ''); $type_desktop = GetFromRequestOrVar($game, 'type_desktop', ''); $provider_id = GetFromRequestOrVar($game, 'provider_id', null); $open_hour = GetFromRequestOrVar($game, 'open_hour', ''); $close_hour = GetFromRequestOrVar($game, 'close_hour', ''); $notes= GetFromRequestOrVar($game, 'notes', ''); $wagering_weight= GetFromRequestOrVar($game, 'wagering_weight', ''); $aams_type_id = GetFromRequestOrVar($game, 'aams_type_id', null); $rtp = GetFromRequestOrVar($game, 'rtp', ''); $volatility = GetFromRequestOrVar($game, 'volatility', ''); $is_slot = GetSingleCheckboxFromRequestOrVar($game, 'is_slot'); if (Request::isMethod('post')){ $checked_langs = IndexByElem(Request::get('language')); } else{ $checked_langs = $game ? $game->language : []; } $aspect_ratio = GetFromRequestOrVar($game, 'aspect_ratio', null); if (Request::isMethod('post')){ $custom_fields = GetGameCustomFields(Request::get('customf_name'),Request::get('customf_value')); } else{ $custom_fields = $game ? $game->custom_field : []; } @endphp