1 回答
TA贡献1836条经验 获得超13个赞
尝试这个
@foreach ($detalles as $det)
<tr>
@if($det->inventariable == 1)
<td><font size="2">{{$det->cantidad}}</td>
<td><font size="2"></td>
<td><font size="2"></td>
@elseif($det->inventariable == 2)
<td><font size="2"></td>
<td><font size="2">{{$det->cantidad1}}</td>
<td><font size="2"></td>
@elseif($det->inventariable == 3)
<td><font size="2"></td>
<td><font size="2"></td>
<td><font size="2">{{$det->cantidad2}}</td>
@endif
</tr>
@endforeach
- 1 回答
- 0 关注
- 67 浏览
添加回答
举报