@extends('layouts.master') @section('title') LT-168 :: ออกรางวัลหวย @endsection @section('sub_title') ออกรางวัลหวย @endsection @section('content')
@if ($lottery->many_rounds)

เลือกงวดออกรางวัล

@foreach ($openingRounds as $round) {{ THdatetime($round->display_date, 'date') . ' ' . $round->round_name }} @endforeach
@endif

ออกรางวัล

lotteryResult ? 'disabled data-toggle=tooltip' : '' }} {{ !$openingRound ? 'title=ไม่มีหวยงวดที่เปิดอยู่' : ($openingRound->lotteryResult ? 'title=มีการออกผลรางวัลของหวยงวดนี้แล้ว' : '') }}> @if (!$openingRound || $openingRound->lotteryResult)
@endif
@if ($lottery->many_rounds === false)
@endif @foreach ($lotteryResultFormat as $resultFormat) @for ($i = 0; $i < $resultFormat->amount; $i++)
@if ($manualResult) @php $results = str_split($manualResult[$resultFormat->result_type] ?? '') @endphp @endif @for ($n = 0; $n < $resultFormat->length; $n++) @endfor
@endfor @endforeach
@if ($openingRound && !$openingRound->lotteryResult) @endif

ประวัติการออกรางวัล

@if ($lotteryResults->count()) @foreach ($lotteryResults[0]->resultDetail as $item) @endforeach @else @endif @if ($lotteryResults->count()) @foreach ($lotteryResults as $key => $result) @foreach ($result->resultDetail as $item) @endforeach @endforeach @endif
# งวดวันที่ รูปภาพ ยกเลิกผล{{ $item->lottery_result_type }}
ไม่พบรายการ
1

{{ THdatetime($result->lotteryRound->display_date) }} @if ($result->lotteryRound->round_name) {{ $result->lotteryRound->round_name }} @endif

@if ($result->result_image) result_image}") }}" data-lity class="btn btn-icon-only btn-primary"> @else @endif @if ($key == 1 && !isset($openingRound->status)) @else - @endif

{{ $item->value }}

@endsection @section('scripts') @endsection