Files
1sonhador 9d43854277 feat: Initial MoneyFlix project setup
- Created separate MoneyFlix project directory
- Copied Node.js redirector from production server
- Added CRM PHP code (Redirects module, Core classes, Config, Routes, Views)
- Created comprehensive documentation (README_MONEYFLIX.md)
- Added sync script to keep CRM code updated (sync-from-crm.sh)
- Configured .gitignore for Node.js and PHP
- Set up proper project structure for multi-client isolation

This separates MoneyFlix from the main CRM to avoid confusion
between different client systems and provides a dedicated
environment for MoneyFlix-specific development and maintenance.
2025-10-03 12:09:41 +01:00

48 lines
1.9 KiB
PHP

<?php
declare(strict_types=1);
/**
* Calendar App Sidebar
* Contains draggable events and upcoming events list.
*/
use App\Api\CalendarProvider;
$draggable_events = CalendarProvider::getDraggableEvents();
?>
<div class="col-xl-3">
<div class="card card-h-100">
<div class="card-body">
<button class="btn btn-primary w-100" id="btn-new-event">
<i class="mdi mdi-plus"></i> Create New Event
</button>
<div id="external-events">
<br>
<p class="text-muted">Drag and drop your event or click in the calendar</p>
<?php foreach ($draggable_events as $event): ?>
<div class="external-event fc-event <?php echo $event['className'] ?>" data-class="<?php echo $event['className'] ?>">
<i class="mdi mdi-checkbox-blank-circle me-2"></i><?php echo htmlspecialchars($event['title']) ?>
</div>
<?php endforeach; ?>
</div>
</div>
</div>
<div>
<h5 class="mb-1">Upcoming Events</h5>
<p class="text-muted">Don't miss scheduled events</p>
<div class="pe-2 me-n1 mb-3" data-simplebar style="height: 400px">
<div id="upcoming-event-list"></div>
</div>
</div>
<div class="card">
<div class="card-body bg-info-subtle">
<div class="d-flex">
<div class="flex-shrink-0">
<i data-feather="calendar" class="text-info icon-dual-info"></i>
</div>
<div class="flex-grow-1 ms-3">
<h6 class="fs-16">Welcome to your Calendar!</h6>
<p class="text-muted mb-0">Event that applications book will appear here. Click on an event to see the details and manage applicants event.</p>
</div>
</div>
</div>
</div>
</div>