Files
MoneyFlix/crm/Views/components/widgets/chart-widgets.php
T
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

67 lines
3.9 KiB
PHP

<div class="row">
<div class="col-12">
<h5 class="text-decoration-underline mb-3 pb-1">Chart Widgets</h5>
</div>
</div>
<!-- end row-->
<div class="row">
<div class="col-xl-8">
<div class="card">
<div class="card-header align-items-center d-flex">
<h4 class="card-title mb-0 flex-grow-1">Sales Analytics</h4>
<div class="flex-shrink-0">
<div class="dropdown card-header-dropdown">
<a class="text-reset dropdown-btn" href="#" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="fw-semibold text-uppercase fs-13">Sort by: </span><span class="text-muted">Current Year<i class="mdi mdi-chevron-down ms-1"></i></span>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#">Today</a>
<a class="dropdown-item" href="#">Last Week</a>
<a class="dropdown-item" href="#">Last Month</a>
<a class="dropdown-item" href="#">Current Year</a>
</div>
</div>
</div>
</div><!-- end card header -->
<div class="card-body px-0">
<ul class="list-inline main-chart text-center mb-0">
<li class="list-inline-item chart-border-left me-0 border-0">
<h4 class="text-primary">$<span class="counter-value" data-target="2390">0</span>k <span class="text-muted d-inline-block fs-13 align-middle ms-2">Revenue</span></h4>
</li>
<li class="list-inline-item chart-border-left me-0">
<h4>$<span class="counter-value" data-target="1590">0</span>k<span class="text-muted d-inline-block fs-13 align-middle ms-2">Expenses</span></h4>
</li>
<li class="list-inline-item chart-border-left me-0">
<h4><span class="counter-value" data-target="80">0</span>%<span class="text-muted d-inline-block fs-13 align-middle ms-2">Profit Ratio</span></h4>
</li>
</ul>
<div id="revenue-expenses-charts" data-colors='["--vz-success", "--vz-danger"]' class="apex-charts" dir="ltr"></div>
</div>
</div><!-- end card -->
</div><!-- end col -->
<div class="col-xl-4">
<div class="card card-height-100">
<div class="card-header align-items-center d-flex">
<h4 class="card-title mb-0 flex-grow-1">Sales by Locations</h4>
<div class="flex-shrink-0">
<div class="dropdown card-header-dropdown">
<a class="text-reset dropdown-btn" href="#" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="fw-semibold text-uppercase fs-13">Sort by: </span><span class="text-muted">Monthly<i class="mdi mdi-chevron-down ms-1"></i></span>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#">Today</a>
<a class="dropdown-item" href="#">Weekly</a>
<a class="dropdown-item" href="#">Monthly</a>
<a class="dropdown-item" href="#">Yearly</a>
</div>
</div>
</div>
</div><!-- end card header -->
<div class="card-body pb-0">
<div id="sales-by-locations" data-colors='["--vz-warning", "--vz-secondary", "--vz-success"]' class="apex-charts" dir="ltr"></div>
</div><!-- end card body -->
</div><!-- end card -->
</div><!-- end col -->
</div><!-- end row -->