Commit b9cf790c authored by PedroLopesUPE's avatar PedroLopesUPE
Browse files

Bug fix: erro de anexo b vazio

parent faf98b0c
......@@ -315,6 +315,8 @@ class UserPadController extends Controller
}
}
$treated_anexo_pad = [];
if ($anexoPad != null)
{
foreach ($anexoPad as $nome_valor=>$valor)
{
if (in_array($nome_valor, $valores_lista_negra))
......@@ -347,6 +349,7 @@ class UserPadController extends Controller
$treated_anexo_pad[$nome_valor] = $valor;
}
}
}
date_default_timezone_set("America/Recife");
$dateTime = now()->format('d/m/Y (H:i:s)');
......
......@@ -13,6 +13,7 @@
</header>
<div style="display: flex; flex-direction: column; padding-left:5mm; gap: 10mm">
@if ($data['anexo'] != null || $data['anexo'] != [])
<h1 style="font-size: 16px; font-weight: bold; text-align: center">
ANEXO B
</h1>
......@@ -22,6 +23,7 @@
</h4>
@endforeach
<hr>
@endif
@foreach ($data['model'] as $nome_dimensao=>$dimensao)
<h1 style="font-size: 16px; font-weight: bold">
{{$nome_dimensao}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment