Logo da Cenarium 7
  • {{ $empresa->nm_fantasia }}
  • CNPJ: {{ $empresa->ds_cnpj }}
  • Avenida Luiz Fernando Quirino, 260 - Jardim Inconfidência
  • Uberlândia/MG - CEP: 38411-630
  • {{ $empresa->ds_telefone }}
  • Vendedor: {{ $orcloc->nm_apelido }}
  • ({{ $orcloc->ds_dddcel }}) {{ $ds_cel }}
  • {{ strtolower($orcloc->email) }}
  • Aos cuidados de: {{ $contato }}
Orçamento nº {{ $orcloc->orcloc_id }} {{ \Carbon\Carbon::parse($orcloc->dt_orcloc)->format('d/m/Y') }}
validade da proposta: {{ $diff_date }} previsão de entrega: {{ \Carbon\Carbon::parse($orcloc->dt_entrega)->format('d/m/Y') }}
Local do evento: {{ $orcloc->ds_observacao }} Data do evento: {{ \Carbon\Carbon::parse($orcloc->dt_iniloc)->format('d/m/Y') }} à {{ \Carbon\Carbon::parse($orcloc->dt_fimloc)->format('d/m/Y') }}
Dados do cliente
Cliente: {{ $orcloc->cliente->nm_fantasia }} Cnpj/Cpf: {{ $orcloc->cliente->ds_cgc_cpf }}
Endereço: {{ !empty($orcloc->cliente->id_endereco) ? $orcloc->cliente->endereco->ds_log : "" }} {{ !empty($orcloc->cliente->id_endereco) ? $orcloc->cliente->endereco->ds_endereco : "" }}, {{ $orcloc->cliente->nr_endereco }} Cep: {{ $orcloc->cliente->ds_cep }}
Cidade: {{ !empty($orcloc->cliente->id_cidade) ? $orcloc->cliente->cidade->ds_cidade : "" }} Estado: {{ !empty($orcloc->cliente->id_uf) ? $orcloc->cliente->estado->ds_sigla : "" }}
Telefone: ({{ $orcloc->ds_ddd }}) {{ $orcloc->ds_telefone }} Email: {{ $orcloc->cliente->ds_email }}
@if ( $orcloc->ds_mostrar_vrunitario_pdf === "S" ) @endif @php $qtd_total = $vr_total = $vr_unit = $vr_subtotal = 0; @endphp @foreach ($itens_orcloc as $item) @php $qt_patrimonio = !empty($item->qt_patrimonio) ? $item->qt_patrimonio : 1; @endphp @if ( $orcloc->ds_mostrar_vrunitario_pdf === "S" ) @endif @php $qtd_total += $qt_patrimonio; $vr_unit += $item->vr_unireal; $vr_subtotal += ($qt_patrimonio * $item->vr_unireal); $sum_vr_unidesc = \App\Models\ItemOrcloc::where("id_orcloc", $item->id_orcloc)->sum("vr_unidesc"); if($sum_vr_unidesc > 0){ $vr_total = \App\Models\ItemOrcloc::where("id_orcloc", $item->id_orcloc)->sum(DB::raw("(qt_patrimonio * vr_unidesc)")); }else{ $vr_total = \App\Models\ItemOrcloc::where("id_orcloc", $item->id_orcloc)->sum(DB::raw("(qt_patrimonio * vr_unireal)")); } @endphp @endforeach @if ( $orcloc->ds_mostrar_vrunitario_pdf === "S" ) @endif
Serviços
item nome qtd.vr. unit.subtotal
{{ $item->nr_item }} {{ !empty($item->id_grupo) ? $item->grupo->ds_grupo : "" }} ({{ $item->ds_descricao }}) {{ $qt_patrimonio }}{{ number_format($item->vr_unireal, 2, ',', '.') }}{{ number_format(($qt_patrimonio * $item->vr_unireal), 2, ',', '.') }}
{{ $qtd_total }}{{ number_format($vr_unit, 2, ',', '.') }}{{ number_format($vr_subtotal, 2, ',', '.') }}
Desconto - {{ number_format(($vr_subtotal - $vr_total), 2, ',', '.') }}
Total {{ number_format($vr_total, 2, ',', '.') }}
observações
{!! !empty($orcloc->ds_obsentrega) ? html_entity_decode($orcloc->ds_obsentrega, ENT_QUOTES) : "Sem observações" !!}

Assinatura do cliente