I have the variable $material_details->pricing=null I want to check the variable is set in laravel blade file.I have tried as
@isset($material_details->pricing)
<tr>
<td>price is not null</td>
</tr>
@endisset
but no luck .How to check the variable is set or not in laravel 5.3 blade file.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire