refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s

This commit is contained in:
Kroonk
2026-05-22 16:19:55 +02:00
parent 38cc4c09ca
commit a213a1dba0
2215 changed files with 242567 additions and 6015 deletions

View File

@@ -0,0 +1,30 @@
@foreach($reminderOutboxesList as $month => $reminderOutboxes)
<h3 class="ttu fw5 f5 pb2">{{ \App\Helpers\DateHelper::getMonthAndYear($month) }}</h3>
<ul class="mb4">
@if(count($reminderOutboxes) > 0)
@foreach($reminderOutboxes as $reminderOutbox)
@if (!is_object($reminderOutbox->reminder))
@continue;
@endif
<li class="pb2">
<span class="ttu f6 mr2 black-60">{{ \App\Helpers\DateHelper::getShortDateWithoutYear($reminderOutbox->planned_date) }}</span>
<span>
@if ($reminderOutbox->reminder->contact->is_partial)
@php($relatedRealContact = $reminderOutbox->reminder->contact->getRelatedRealContact())
<a href="{{ route('people.show', $relatedRealContact) }}">{{ $relatedRealContact->getIncompleteName() }}</a>
@else
<a href="{{ route('people.show', $reminderOutbox->reminder->contact) }}">{{ $reminderOutbox->reminder->contact->getIncompleteName() }}</a>
@endif
</span>
{{ $reminderOutbox->reminder->title }}
</li>
@endforeach
@else
<p>{{ trans('dashboard.reminders_none') }}</p>
@endif
</ul>
@endforeach