| Giorno nel PDF | Giorno nel piano manuale |
|---|---|
| {{ $giornoPdf['label'] ?? ($giornoPdf['chiave'] ?? '') }} |
| Pasto nel PDF | Pasto nel piano manuale |
|---|---|
| {{ $pastoPdf['label'] ?? ($pastoPdf['chiave'] ?? '') }} |
| Alimento PDF | Qty | Tipo | Alimento banca dati |
|---|---|---|---|
|
@if($this->rigaImportPdfAssociata($this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf)) && !$this->rigaImportPdfIgnorata($this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf)))
@elseif($this->rigaImportPdfIgnorata($this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf)))
@endif
$this->rigaImportPdfIgnorata($this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf))])>{{ $rigaPdf['pdf_nome'] ?? '-' }}
@if($this->rigaImportPdfIgnorata($this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf)))
ignorato
@else
@endif
|
{{ number_format((float) ($rigaPdf['quantita_g'] ?? 0), 0, ',', '.') }} g | Principale |
@if($this->rigaImportPdfIgnorata($this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf)))
—
@else
@php
$chiaveRigaPdf = $this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf);
$candidatiRigaPdf = $this->candidatiTendinaImportPdf($rigaPdf['candidati'] ?? [], $chiaveRigaPdf);
@endphp
@if(!empty($candidatiManualiImportPdf[$this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf)] ?? []))
@endif
@foreach(($candidatiManualiImportPdf[$this->chiaveSelezioneImportPdf($giornoPreviewImportPdf, $pastoPdf, (int) $idxPdf)] ?? []) as $manualId => $manualNome)
@endforeach
@endif
|
|
@if($associataSostituto && !$ignorataSostituto)
@elseif($ignorataSostituto)
@endif
$ignorataSostituto])>↳ {{ $sostitutoPdf['pdf_nome'] ?? '-' }}
@if($ignorataSostituto)
ignorato
@else
@endif
|
{{ number_format((float) ($sostitutoPdf['quantita_g'] ?? 0), 0, ',', '.') }} g | Alternativa |
@if($ignorataSostituto)
—
@else
@php
$candidatiSostitutoPdf = $this->candidatiTendinaImportPdf($sostitutoPdf['candidati'] ?? [], $chiaveSostituto);
@endphp
@if(!empty($candidatiManualiImportPdf[$chiaveSostituto] ?? []))
@endif
@foreach(($candidatiManualiImportPdf[$chiaveSostituto] ?? []) as $manualIdSub => $manualNomeSub)
@endforeach
@endif
|