@extends('crudbooster::admin_template')
@section('content')

<h1>Hasil Import Excel</h1>  
<?php
        dd($result);
    ?>
@foreach($result as $re)
    
    <?php
        $re = json_decode($re);
        //var_dump($re->status);
    ?>
    @if($re->status==4)
        <p style="background-color: yellow;">{{ $re->message }}</p>
    @elseif($re->status==3)
        <p style="background-color: yellow;">{{ $re->message }}</p>
    @elseif($re->status==2)
        <div  style="background-color: yellow;">
            <p>{{ $re->message }}</p>
        </div>
    @else
     <p>{{ $re->message }}</p>
    @endif
@endforeach

@endsection