@extends('layouts.master') @section('title') LT-99 :: ตั้งค่าเวลาเปิดปิดงวดหวย @endsection @section('sub_title') ตั้งค่าเวลาเปิดปิดงวดหวย @endsection @section('content')

ตั้งค่าเวลา เปิด / ปิดงวด

many_rounds === false && $openingRounds->count() ? 'disabled title="มีงวดที่เปิดอยู่ ยังไม่สามารถเพิ่มงวดใหม่ได้" data-toggle="tooltip"' : '' !!}>
@csrf
@if ($isMatchHanoi) @foreach ($hanoiSet as $item)
@endforeach @else
@endif
{{--
--}}

หวยงวดที่เปิดอยู่

@if ($openingRounds->count())
@foreach ($openingRounds as $openingRound) @endforeach
หวย งวดวันที่ เวลาเปิด-ปิดงวด เวลาคงเหลือ ดำเนินการ
{{ $openingRound->lottery->name }} {{ $openingRound->round_name }} {{ $openingRound->display_date }}
{{ $openingRound->open }}
{{ $openingRound->close }}
- @if ($openingRound->status === \App\LotteryRound::STATUS_ENABLED) แก้ไข @endif
@else

ไม่มีหวยงวดที่เปิดอยู่ในขณะนี้

@endif
{{-- @if ($openingRound)

หมดเวลาแทงในอีก

0
วัน
00
ชั่วโมง
00
นาที
00
วินาที
@endif --}} {{--
--}}

ประวัติการเปิด-ปิดงวด

@foreach ($lotteryRounds as $lotteryRound) @endforeach
หวย งวดวันที่ วัน/เวลาที่เปิดงวด วัน/เวลาที่ปิดแทง สถานะ
{{ $lotteryRound->lottery->name }} {{ $lotteryRound->round_name }} {{ $lotteryRound->display_date }} {{ $lotteryRound->open }} {{ $lotteryRound->close }} {{ $lotteryRound->status ? 'เ' : '' }}ปิดงวด
@endsection @section('scripts') @endsection