Gerado em: {{ \Carbon\Carbon::now()->format('d/m/Y H:i:s') }}
ISO 9001:2015 - Requisito de Rastreabilidade | Lotes Consumidos na Fabricação
| Código | Produto | Qtd. Planejada | Qtd. Produzida | Unidade | Status |
|---|---|---|---|---|---|
| {{ $item->produto->codigo }} | {{ $item->produto->nome }} | {{ number_format($item->quantidade, 2, ',', '.') }} | {{ number_format($item->quantidade_produzida ?? 0, 2, ',', '.') }} | {{ $item->produto->unidade ?? 'UN' }} | @php $percentual = $item->quantidade > 0 ? ($item->quantidade_produzida / $item->quantidade) * 100 : 0; @endphp @if($percentual >= 100) Concluído @elseif($percentual > 0) {{ number_format($percentual, 0) }}% @else Pendente @endif |
| Nenhum produto definido | |||||
| Código Lote | Produto/Material | Fornecedor | Qtd. Consumida | Data Fabricação | Data Validade | Certificado |
|---|---|---|---|---|---|---|
| {{ $opLote->lote->codigo_lote }} |
{{ $opLote->lote->produto->codigo }} {{ Str::limit($opLote->lote->produto->nome, 30) }} |
@if($opLote->lote->fornecedor) {{ Str::limit($opLote->lote->fornecedor->razao_social, 20) }} @else Produção Própria @endif |
{{ number_format($opLote->quantidade_consumida, 2, ',', '.') }}
{{ $opLote->lote->produto->unidade ?? 'UN' }} |
@if($opLote->lote->data_fabricacao) {{ $opLote->lote->data_fabricacao->format('d/m/Y') }} @else - @endif |
@if($opLote->lote->data_validade)
{{ $opLote->lote->data_validade->format('d/m/Y') }}
@if($opLote->lote->isVencido())
VENCIDO @endif @else - @endif |
{{ $opLote->lote->numero_certificado ?? '-' }} |
| TOTAL DE LOTES: | {{ $ordem->lotesConsumidos->count() }} lotes | |||||
{{ $ordem->observacoes }}