{{--
--}} @php $raffles = [ [ 'endTime' => '21-10-2024 06:45:00', ], ]; @endphp {{--
--}}
@foreach ( $raffles as $key => $raffle )
PRICE
PRIZE
COST
{{--
99999
of
99999
--}} {{--
--}} {{--
--}}
{{str_pad($this->daysLeft, 2, '0', STR_PAD_LEFT)}}
day
:
{{str_pad($this->hoursLeft, 2, '0', STR_PAD_LEFT)}}
hr
:
{{str_pad($this->minutesLeft, 2, '0', STR_PAD_LEFT)}}
min
:
{{str_pad($this->secondsLeft, 2, '0', STR_PAD_LEFT)}}
sec
{{--
--}} {{--
--}}
@endforeach
{{--
--}} {{--
RAFFLE NAME
RAFFLE PRIZE
aaaaa
--}} {{--
@if($this->raffleEnded)
collect
@else
{{str_pad($this->daysLeft, 2, '0', STR_PAD_LEFT)}}:
{{str_pad($this->hoursLeft, 2, '0', STR_PAD_LEFT)}}:
{{str_pad($this->minutesLeft, 2, '0', STR_PAD_LEFT)}}:
{{str_pad($this->secondsLeft, 2, '0', STR_PAD_LEFT)}}
@endif
--}} {{-- @if(!$this->raffleEnded)
collect
@else
{{str_pad($this->daysLeft, 2, '0', STR_PAD_LEFT)}}:
{{str_pad($this->hoursLeft, 2, '0', STR_PAD_LEFT)}}:
{{str_pad($this->minutesLeft, 2, '0', STR_PAD_LEFT)}}:
{{str_pad($this->secondsLeft, 2, '0', STR_PAD_LEFT)}}
@endif --}} {{-- --}} {{--
--}} {{--
--}} {{-- {{ $this->timeRemaining }} --}} {{--
--}} {{--
--}} {{--str_pad($this->seconds, 2, '0', STR_PAD_LEFT)--}} {{-- --}}