Level 53
Are you sure you want to set a variable in the view? That kind of takes away from separation of the model and view.
I try like this :
...
@if(is_null($key['p3']))
{{--*/$p3 = $key['p3']/*--}}
@else
{{ 0 }}
@endif
@if(is_null($key['wabku']))
{{--*/$wabku = $key['wabku']/*--}}
@else
{{ 0 }}
@endif
<td class="tg-rv4w" width="5%">
{{ number_format($p3 - $wabku,0,',','.') }}
</td>
...
But, It's not working.
Is there any people who can help me?
Please or to participate in this conversation.