refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
30
resources/views/dashboard/_monthReminder.blade.php
Normal file
30
resources/views/dashboard/_monthReminder.blade.php
Normal 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
|
||||
Reference in New Issue
Block a user