@if(session()->has('message'))
{{ session()->get('message') }}
@endif
@php
$page=1;
if(Request::input('page'))
$page=Request::input('page');
$sort = $lists->perPage();
@endphp
@forelse($lists as $key => $list)
{{$list->name}}({{isset($list->storeGame) ? timeShow($list->storeGame->opent_time) : '' }}) (Open)
| S.No
|
User Name
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
Total
|
@php $type = 0;@endphp
@if(count($list->bit)>0)
@foreach($list->bit as $key => $bits)
@if(bitType($bits->id,'open'))
@php $type = ++$key;@endphp
| {{++$key}} |
{{$bits->username->name}} |
@for($i=0;$i<10;$i++)
{{SingleDigitBitAmount($bits->id,$i)}} |
@endfor
{{$bits->amount}} |
@endif
@endforeach
@if($type>0)
| Grand Total |
@for($i=0;$i<10;$i++)
{{singleDigitUserTotalAmount($i,$list->id,'open')}} |
@endfor
{{bitTotalAmountOpen(1,$list->id)}} |
@else
@endif
@endif
@empty
No Store
@endforelse
@forelse($lists as $key => $list)
{{$list->name}}({{isset($list->storeGame) ? timeShow($list->storeGame->close_time) : '' }}) (Close)
| S.No
|
User Name
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
Total
|
@php $type = 0;@endphp
@if(count($list->bit)>0)
@foreach($list->bit as $key => $bits)
@if(bitType($bits->id,'close'))
@php $type = $key;@endphp
| {{++$key}} |
{{$bits->username->name}} |
@for($i=0;$i<10;$i++)
{{SingleDigitBitAmount($bits->id,$i)}} |
@endfor
{{$bits->amount}} |
@endif
@endforeach
@if($type>0)
| Grand Total |
@for($i=0;$i<10;$i++)
{{singleDigitUserTotalAmount($i,$list->id,'close')}} |
@endfor
{{bitTotalAmountClose(1, $list->id)}} |
@else
@endif
@endif
@empty
No Store
@endforelse