DADOS DO FORNECEDOR
{{$info['EMPRESA_RAZAOSOCIAL']}}
{{$info['EMPRESA_ENDERECO']}} {{$info['EMPRESA_NUMERO']}} BAIRRO: {{$info['EMPRESA_BAIRRO']}}
CIDADE: {{$info['EMPRESA_CIDADE']}} ({{$info['EMPRESA_UF']}})
CEP: {{$info['CEP']}}
@if(strlen(trim($info['EMPRESA_CNPJ'])) > 11)
CNPJ: {{$info['CNPJ_F']}}
@else
CPF: {{$info['CNPJ_F']}}
@endif @if(strlen(trim($info['EMPRESA_CNPJ'])) > 11)
INSC.EST: {{$info['EMPRESA_IE']}}
@else

@endif
FONE: {{$info['EMPRESA_FONE_F']}}
FAX: {{$info['EMPRESA_FAX_F']}}
INFORMAÇÕES COMPLEMENTARES
FORMAS DE PAGAMENTO: {{$info['LISTA_FORMA']}}
{{$info['CFOP_DESCRICAO']}}
@php $parcelas = $info['PARCELAS'];
PARCELAMENTOS
@foreach ($parcelas AS $PARCELA) @endforeach
FORMA DE PAGAMENTO OPERAÇÃO DT.VENCIMENTO DIAS VALOR
{{($PARCELA['DESC_FORMAPAG'])}} {{($PARCELA['DESC_OPERACAO'])}} {{($PARCELA['FDATA_VENCIMENTO'])}} {{($PARCELA['QUANTIDADE_DIAS'])}} R$ {{Number($PARCELA['VALOR_TOTAL'], 2, 5, true)}}
@php $cont = 0; @php $qtd = 0; @php $qtd_alt = 0; @php $vlr = 0; @php $vlr_alt = 0; @php $st = 0; @php $des = 0; @php $acr = 0; @php $ipi = 0; @php $total_real = 0; @php $paginas = count($info['ITENS']) == 0 ? 0 : array_chunk($info['ITENS'], count($info['ITENS'])); @php $itens = $info['ITENS'];
ITENS
@foreach ($itens AS $ITEN) @php $ean = 0; @php $cont++; @php $qtd = $ITEN['QUANTIDADE'] + $qtd; @php $vlr = $ITEN['VALOR_TOTAL'] + $vlr; @php $des = $ITEN['VALOR_DESCONTO'] + $des; @php $acr = $ITEN['VALOR_ACRESCIMO'] + $acr; @php $ipi = $ITEN['VALOR_IPI'] + $ipi; @php $total_real = $ITEN['VALOR_TOTAL'] + $ipi; @endforeach
PRODUTO OC. QTD. VR.UNIT. VR.ACR. VR.DESC. SUB-TOTAL
{{$ITEN['DESC_OC']}} {{Number($ITEN['QUANTIDADE'], 0, 5, true)}} {{$ITEN['PRODUTO_UNIDADEMEDIDA']}} R$ {{Number($ITEN['VALOR_UNITARIO'], 2, 5, true)}} R$ {{Number($ITEN['VALOR_ACRESCIMO'], 2, 5, true)}} R$ {{Number($ITEN['VALOR_DESCONTO'], 2, 5, true)}} R$ {{Number($ITEN['VALOR_TOTAL'], 2, 5, true)}}


OBSERVAÇÕES
ORDENS DE COMPRA: {{$info['LISTA_OC']}}

{{$info['OBSERVACAO_ROMANEIO']}}
TOTAIS
QUANT.TOTAL: {{Number($qtd, 0)}}
SUB-TOTAL: R$ {{number_format(truncate_number($vlr, 2), 2, ',' , '.') }}
ACRÉSCIMO: R$ {{number_format(truncate_number($info['VALOR_ACRESCIMO_TOTAL'], 2), 2, ',' , '.') }}
DESCONTO: R$ {{number_format(truncate_number($info['VALOR_DESCONTO_TOTAL'], 2), 2, ',' , '.') }}
IPI: R$ {{number_format(truncate_number($info['VALOR_IPI_TOTAL'], 2), 2, ',' , '.') }}
SUBST.TRIB: R$ {{number_format(truncate_number($info['VALOR_ICMS_ST_TOTAL'], 2), 2, ',' , '.') }}
VALOR TOTAL: R$ {{number_format(truncate_number($info['VALOR_ITENS_DUPLICATA'], 2), 2, ',' , '.') }}


_____________________________________________________
Fornecedor