{{-- CABEÇALHO --}}
{{ $empresa->nome_empresa }}
@if($empresa->cnpj)

CNPJ: {{ $empresa->cnpj }}

@endif @if($empresa->telefone)

Tel: {{ $empresa->telefone }}

@endif @if($empresa->email)

{{ $empresa->email }}

@endif
Tabela de Valores
{{ $categorias->count() === 1 ? $categorias->first()->nome : 'Catálogo Completo' }}
{{ now()->format('d/m/Y') }}

@if($percentual !== null)
Simulação de reajuste ({{ $percentual > 0 ? '+' : '' }}{{ rtrim(rtrim(number_format($percentual, 2, ',', '.'), '0'), ',') }}%) — valores ainda não salvos
@endif @forelse($categorias as $categoria)
{{ $categoria->nome }}   ({{ $categoria->produtos->count() }} {{ $categoria->produtos->count() === 1 ? 'item' : 'itens' }})
@if($categoria->produtos->isEmpty())
Nenhum produto ativo nesta categoria.
@else @foreach($categoria->produtos->chunk(3) as $linha) @foreach($linha as $produto) @endforeach @for($i = $linha->count(); $i < 3; $i++) @endfor @endforeach
@if($produto->imagem) {{ $produto->nome_produto }} @else
SEM FOTO
@endif @if(filled($produto->observacao))
{{ $produto->observacao }}
@endif
{{ $produto->nome_produto }}
@if($produto->codigo)
Cód: {{ $produto->codigo }}
@endif
R$ {{ number_format($produto->valor_unitario, 2, ',', '.') }}
@endif @empty

Nenhuma categoria encontrada.

@endforelse {{-- RODAPÉ --}}