|
{{ $empresa->no_razao_social ?? $empresa->dc_fantasia ?? '' }} @if ($empresa->nm_cnpj) CNPJ: {{ substr($empresa->nm_cnpj, 0, 2) . '.' . substr($empresa->nm_cnpj, 2, 3) . '.' . substr($empresa->nm_cnpj, 5, 3) . '/' . substr($empresa->nm_cnpj, 8, 4) . '-' . substr($empresa->nm_cnpj, 12, 2) }} @endif @if ($empresa->endereco) {{ $empresa->endereco->dc_logradouro }}, {{ $empresa->endereco->nm_numero }}@if($empresa->endereco->dc_bairro) - {{ $empresa->endereco->dc_bairro }}@endif @endif |
{{ $empresa->endereco->dc_logradouro }}, {{ $empresa->endereco->nm_numero }}@if($empresa->endereco->dc_bairro) - {{ $empresa->endereco->dc_bairro }}@endif
@endif @endif| Nº OS | Placa | Veículo | Data Abertura | Status | Peças | Serviços | Total |
|---|---|---|---|---|---|---|---|
| {{ $ordem->nr_os }} | {{ $ordem->unidade->nm_placa ?? '-' }} | {{ $ordem->unidade->veiculo->no_veiculo ?? '-' }} | {{ $ordem->dt_abertura ? \Carbon\Carbon::parse($ordem->dt_abertura)->format('d/m/Y') : '-' }} | {{ ucfirst(str_replace('_', ' ', $ordem->tp_status)) }} | R$ {{ number_format($ordem->vl_total_pecas ?? 0, 2, ',', '.') }} | R$ {{ number_format($ordem->vl_total_servicos ?? 0, 2, ',', '.') }} | R$ {{ number_format($ordem->vl_total_geral ?? 0, 2, ',', '.') }} |
| Nenhuma ordem de serviço encontrada. | |||||||
| TOTAIS | R$ {{ number_format($totalPecas, 2, ',', '.') }} | R$ {{ number_format($totalServicos, 2, ',', '.') }} | R$ {{ number_format($totalGeral, 2, ',', '.') }} | ||||