{{-- @dump($betList); --}}

@if ($store) สาขา: {{ $store->store_name }}
@endif {{ lotteryName($bill->country) }}เลขตั๋ว: {{ $bill->bill_id }}
งวดวันที่: {{ THdatetime($bill->lotteryRound->display_date, 'date') }} {!! $bill->lotteryRound->round_name ?: '  ' !!}    @if ($store) PIN: {{ $bill->pin }} @endif
ส่วนลดไลน์: {{ $bill->commission_line }}              {{ THdatetime($bill->created_at) }}

{{-- @foreach ($betList as $number => $data) --}} @foreach ($betList as $key => $data) {{-- --}} @endforeach
เลขแทง ยอดแทง
{{ $number }}{{ $data['number'] }} @if (! isLotteryType($bill->country)) @foreach ($data['data'] as $shortType => $items) @foreach ($items as $item) {{ ($shortType ? $shortType.' ' : '') . number_format($item) }} @endforeach @endforeach @endif {{ number_format($data['total'], 2) }}
@if ($showDiscount) @endif
รวมเงิน {{ number_format($bill->amount, 2) }} บาทส่วนลด {{ number_format($bill->discount, 2) }} บาท รวมสุทธิ {{ number_format($bill->payment, 2) }} บาท
@if (count($paymentLimit))

แจงรายการเลขอั้น จ่ายไม่เต็ม

@for ($i = 0; $i < 5; $i++) @if (isset($paymentLimit[$i])) @endif @endfor @for ($i = 0; $i < 5; $i++) @if (isset($paymentLimit[$i])) @foreach ($paymentLimit[$i] as $type => $item) @php $numSets = implode(', ', $item); @endphp @endforeach @endif @endfor
เลขแทง บาทละ
{{ $item['type'] }} {{ $item['payment'] }}
@endif

***กรุณาตรวจสอบสลิปให้ถูกต้อง***

@if ($store)

{{ $store->store_detail }}

@endif

___________________________________________