Skip to content

Commit

Permalink
Merge pull request #303 from secultce/develop
Browse files Browse the repository at this point in the history
Algumas inscrições não exibidas em 'minhas inscrições'
  • Loading branch information
jeff-doliveira1 authored Nov 5, 2024
2 parents 32ef474 + 053c77c commit 6b27f4f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
use MapasCulturais\Entities\Registration;
$this->layout = 'panel';
$has_drafts_registration = false;
$drafts = $app->user->getRegistrationsNotAccountability(Registration::STATUS_DRAFT);
$sent = $app->user->getRegistrationsNotAccountability('sent', 3);
$drafts = $app->repo('Registration')->findByUser($app->user, Registration::STATUS_DRAFT);
$sent = $app->repo('Registration')->findByUser($app->user, 'sent');
$app->applyHookBoundTo($this, 'panel(registration.panel):begin', [&$sent,&$drafts]);
?>
<div class="panel-list panel-main-content">
Expand Down

0 comments on commit 6b27f4f

Please sign in to comment.