@php $results = \Modules\Report\Betlists\Entities\BetlistsResults::where('betlist_id', $list->id)->first(); $res = json_decode($results->game_result, true); @endphp {{--@if(in_array($res['sportsType'], ['sportsType', 'Mix Parlay']))--}} @if(isset($res['sportsType'])) @foreach($res['subBet'] as $v)
{{ $v['betOption'] }} {{ "@".$v['hdp'] }} {{ "@".$v['liveScore'] }} {{ "@".number_format($v['odds'], 2, '.', '') }}
{{ (isset($v['sportType'])) ? $v['sportType']." / " : "" }}{{ $v['marketType'] }}
{{ $v['match'] }}
{{ $v['league'] }} @ {{ date("m/d/Y", strtotime($v['winlostDate'])) }}

@endforeach @else {{ trans("report/winloss::winloss.table.bet_on") }} {{ $type->name }}
{{ $game->name }}
{{ date('d/m', strtotime($list->bet_time)) }}
{{ trans("report/winloss::winloss.table.bet_id") }} {{ $list->bet_id }} @endif