|
|
Pedido comercial em nome de: {{ $pedido->distribuidor->nome }}
@if ($pedido->distribuidor->pessoa_fisica)
CPF: {{ $pedido->distribuidor->pessoa_fisica->cpf }}
@else
CNPJ: {{ $pedido->distribuidor->pessoa_juridica->cnpj }}
@endif
|
| # | Produto | Qtd. | Vl. Unit. | Tot. Unit. | Desconto | Total |
|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->produto->codigo }} - {{ $item->produto->descricao }} | {{ $item->quantidade }} | R$ {{ number_format($item->valor_unitario, 2, ',', '.') }} | R$ {{ number_format($item->valor_unitario * $item->quantidade, 2, ',', '.') }} | @if ( $pedido->proposta->tipo_proposta == 'BONIFICACAO' || $pedido->proposta->tipo_proposta == 'AMOSTRA' || $pedido->proposta->tipo_proposta == 'REQUISICAO') 100% @else R$ {{ number_format($item->valor_desconto, 2, ',', '.') }} @endif | R${{ $pedido->proposta->tipo_proposta == 'BONIFICACAO' || $pedido->proposta->tipo_proposta == 'AMOSTRA' || $pedido->proposta->tipo_proposta == 'REQUISICAO' ? '0,00' : number_format($item->valor_total, 2, ',', '.') }} |
| BONIFICAÇÃO | ||||||
|---|---|---|---|---|---|---|
| # | Produto | Qtd. | Vl. Unit | Tot. Unit. | Desconto | Total |
| {{ $i + 1 }} | {{ $item->produto->codigo }} - {{ $item->produto->descricao }} | {{ $item->quantidade }} | R$ {{ number_format($item->valor_unitario, 2, ',', '.') }} | R$ {{ number_format($item->valor_unitario * $item->quantidade, 2, ',', '.') }} | 100% | R$ {{ $item->brinde ? '0,00' : number_format($item->valor_total, 2, ',', '.') }} |
| Produto | Brinde | Quantidade |
|---|---|---|
| {{ $nItem['item'] }} | {{ $nItem['brinde'] }} | {{ $nItem['quantidade'] }} |