mouzak
5 months ago

blade @if @else

Posted 5 months ago by mouzak

hello i need help blade does not excute the @else condition. suggestions please

            @foreach( $data['parametres'] as $pa)
                @foreach( $data['som'] as $so)

@if($so>=$pa->plafonIpresRC) {{$pa->plafonIpresRC}} @else{{$so->total}} @endif

Please sign in or create an account to participate in this conversation.