@php foreach($configData as $key => $value) { $config[$value->name] = $value->value ; } $agt_name = "Agt 001"; $cur_t = date('H:i'); $time1 = "11:30"; $time2 = "4:30"; $time = 1; $show_time = "00:00"; if ($cur_t < $time1) { $show_time = $time1; $time = 1; } elseif($cur_t < $time2) { $show_time = $time2; $time = 1; } else $time = 3; @endphp
This is a sample warming text, Welcome.
{{-- 15/01/2023 --}} 25/01/2023
{{ $show_time }} Setting {{$agt_name}} {{ $config['limit']}}

Total   -   0

{{-- echo ''; --}} @php $data = json_decode(json_encode($bet), true); $total_amt = 0; function getV($arr,$l,$n) { if(count($arr)>$l){ return $arr[$l][$n]; }else { return ""; } } function getVamt($arr,$l,$n) { if(count($arr)>$l){ return $arr[$l][$n]; }else { return 0; } } @endphp @for ($x = 0; $x <= 99/4; $x++) @if( $x != 0) @elseif($x == 0) @endif @if(count($data)> $x) @php $total_amt += (getVamt($data,$x,"t_amt")*1) ; @endphp @php $total_amt += (getVamt($data,$x,"t_amt")*1) ; @endphp @php $total_amt += (getVamt($data,$x,"t_amt")*1) ; @endphp @php $total_amt += (getVamt($data,$x,"t_amt")*1) ; @endphp @else @endif @endfor
'.$value->digit.' - '.$value->t_amt.'
{{ getV($data,$x,"digit")}}{{getV($data,$x,"t_amt")}}{{ getV($data,$x+25,"digit")}}{{getV($data,$x+25,"t_amt")}}{{ getV($data,$x+50,"digit")}}{{getV($data,$x+50,"t_amt")}}{{ getV($data,$x+75,"digit")}}{{getV($data,$x+75,"t_amt")}}
BET {{number_format($total_amt)}}
OK X
1 2 3 P R
4 5 6 F B
7 8 9 A W
0 00 000 N =