MATÉRIA PRIMA |
@php $count = 1;
@php $modelo = '';
@foreach ($info->ITENS AS $item)
@php $backgroundTr = 'white';
@php $modeloAnt = $item->MODELO_ID;
@if($count % 2 == 0)
@php $backgroundTr = "rgb(240, 240, 240)";
@endif
@if($modeloAnt != $modelo && $info->DADOS_GERAIS->CONJUNTO != '')
{{$item->DESC_MODELO_ID}} - {{$item->MODELO_DESCRICAO}} |
@endif
@if(!isset($item->FLAG) || (isset($item->FLAG) && $item->FLAG == 0))
{{$item->DESC_FAMILIA}} |
{{$item->DESC_PRODUTO}} |
{{ $item->CONSUMO_VISUALIZACAO_REL }} |
{{ $item->CUSTO_UNITARIO_VISUALIZACAO }} |
R$ {{ number_format($item->CUSTO_TOTAL_CUSTOM_PC, 4, ',' , '.') }} |
R$ {{ number_format($item->CUSTO_TOTAL_CUSTOM, 2, ',' , '.') }} |
@endif
@if((isset($item->FLAG) && $item->FLAG == 1))
|
|
|
|
R$ {{ number_format($item->CUSTO_TOTAL_CUSTOM_PC, 4, ',' , '.') }} |
R$ {{ number_format($item->CUSTO_TOTAL_CUSTOM, 4, ',' , '.') }} |
@endif
@if($item->MODELO_ID != $modelo)
@php $modelo = $item->MODELO_ID;
@endif
@php $count++;
@endforeach
|
|
|
|
R$ {{number_format($info->TOTALIZADORES->CUSTO_MP_TOTAL, 4, ',' , '.')}} |
R$ {{number_format($info->TOTALIZADORES->CUSTO_MP_TOTAL_QTD, 2, ',' , '.')}} |
SERVIÇOS |
@foreach ($info->ITENS_SERVICO AS $item)
@php $backgroundTr = 'white';
@if($count % 2 == 0)
@php $backgroundTr = "rgb(240, 240, 240)";
@endif
{{$item->DESC_PRODUTO}} |
R$ {{ number_format($item->CUSTO_PC, 4, ',' , '.') }} |
R$ {{ number_format($item->CUSTO_TOTAL_QUANTIDADE, 2, ',' , '.') }} |
@endforeach
|
|
|
|
R$ {{number_format($info->TOTALIZADORES->CUSTO_SERV_TOTAL, 4, ',' , '.')}} |
R$ {{number_format($info->TOTALIZADORES->CUSTO_SERV_TOTAL_QTD, 2, ',' , '.')}} |
Matéria Prima + Serviços |
R$ {{number_format($info->TOTALIZADORES->CUSTO_MP_SERV_TOTAL_QUANTIDADE, 4, ',' , '.')}} |
R$ {{number_format($info->TOTALIZADORES->CUSTO_MP_SERV_TOTAL_QTD, 2, ',' , '.')}} |