@once @endonce @php extract( array_merge( [ 'lawTypeName' => 'Sem tipo', 'inPauta' => false, 'pautaStatus' => ['label' => 'Não está em pauta', 'class' => 'badge-disponivel'], 'hasReachedPautaLimit' => false, 'processing' => null, 'dateEnd' => null, 'deadlineClass' => null, 'status' => 'Em elaboração', 'class' => 'badge-elaboracao', 'pendingSigners' => collect(), 'signedSigners' => collect(), 'cardAccentClass' => 'sl-law-card--accent-blue', 'isRoot' => false, 'hasPendingSigners' => false, 'hasProcessing' => false, 'isSigned' => false, 'isProtocolado' => false, 'showProtocolPill' => false, 'podeEditar' => false, 'tooltip' => 'Editar', 'destinationName' => null, 'cardCommission' => null, 'commissionLabel' => null, 'processingDateLabel' => '-', 'votingHistoryEntries' => collect(), 'hasVotingHistory' => false, 'projectNumberLabel' => null, 'projectOwnerLabel' => 'Sem autor', 'projectDateLabel' => '-', 'projectSummary' => 'Sem ementa cadastrada.', 'mainStatusLabel' => 'Sem status', 'mainStatusToneClass' => 'sl-card-status--neutral', 'mainStatusPillToneClass' => 'sl-card-pill--neutral', 'internalStatusToneClass' => 'sl-card-pill--neutral', 'signatureLabel' => 'Sem assinatura', 'signatureToneClass' => 'sl-card-pill--neutral', ], $lawsProject->card_view_data ?? [], ), EXTR_SKIP, ); @endphp
{{--
@shield('lawsProjects.show') PDF @endshield
--}}

{{ $lawTypeName }}

@if ($projectNumberLabel) @if (Auth::user()->roleHasPermission('lawsProject.editnumerolei')) {!! $projectNumberLabel !!} @else {!! $projectNumberLabel !!} @endif @endif

{{ $projectOwnerLabel }} {{ $projectDateLabel }}

Prazo @if ($dateEnd) {{ $dateEnd }} @else - @endif
{{ $mainStatusLabel }}
@if ($hasReachedPautaLimit)
Limite de 3 pautas atingido
@endif
@if ($projectNumberLabel) @if (Auth::user()->roleHasPermission('lawsProject.editnumerolei')) {!! $projectNumberLabel !!} @else {!! $projectNumberLabel !!} @endif @else - @endif Prot. @if ($lawsProject->protocol > 0) {{ $lawsProject->protocol }} @elseif(Auth::user()->roleHasPermission('lawsProject.createLawProjectNumber')) @else Sem protocolo @endif
{{ $projectSummary }}
@if (!empty($lawsProject->search_match_excerpt))
@if (!empty($lawsProject->search_match_badge_label)) {{ $lawsProject->search_match_badge_label }} @endif
{!! $lawsProject->search_match_excerpt !!}
@if (!empty($lawsProject->search_match_full_text))
{!! $lawsProject->search_match_full_text !!}
@endif
@endif
@if (!$hasProcessing) Não possui tramitação @else {!! !empty($destinationName) ? $destinationName : '-' !!} @endif {{ $processingDateLabel }} {{ $status }} @if ($showProtocolPill) Protocolado @endif {{ $signatureLabel }} @if ($commissionLabel) {{ $commissionLabel }} @endif @if ($lawsProject->is_ready >= 1 && $lawsProject->law_number) Lei {{ $lawsProject->law_number }} @endif
@if ($lawsProject->is_ready >= 1)
{{ $lawsProject->law_number }} - {{ $lawsProject->law_date_publish }} @shield('lawProject.approvedEdit') @endshield
@else @shield('lawsProject.approved')
@endshield @endif @if ( !$inPauta && (Auth::user()->roleHasPermission('lawsProject.read') || Auth::user()->roleHasPermission('lawsProject.approved')))
@shield('lawsProject.read') @endshield @shield('lawsProject.approved') @endshield
@endif
@if ($hasVotingHistory) @endif @once @include('lawsProjects.partials.card-scripts') @endonce