@php
$nfTypeUi = isset($invoice) ? ($invoice->origin_type === 'award' ? 'Prêmio' : 'Serviço Prestado') : '';
@endphp
@php
$monthRef = isset($invoice) && $invoice->reference_date ? \Carbon\Carbon::parse($invoice->reference_date)->format('m') : '';
@endphp
@if (!isset($invoice))