@foreach ($data as $autopull)
@php
if (!in_array($autopull['level_amount'], [10, 20])) {
continue;
}
@endphp
@if ($autopull['color'] == 'green' && $autopull['islevelachived'] == true)
@elseif ($autopull['color'] == 'blue' && $autopull['islevelachived'] == 'true')
@else
@endif
@endforeach

Completed
{{ $autopull['level_amount'] }}
{{ $autopull['total_amount'] }}
{{--
--}}


:
:
{{ $autopull['level_amount'] }}
{{ $autopull['total_amount'] }}
{{--
--}}


00
:
00
:
00