Files
sam-manage/resources/views/stats/dashboard/partials/_charts.blade.php
권혁성 5dd580623e feat:통계 대시보드 페이지 신규 구현 (/stats/dashboard)
- 모델 7개: StatSalesDaily, StatFinanceDaily, StatProductionDaily,
  StatInventoryDaily, StatSystemDaily, StatSalesMonthly, StatFinanceMonthly
- DashboardStatService: 요약카드, 7일 추이차트, 알림, 월간요약 데이터
- StatDashboardController: HX-Redirect 패턴 적용
- 뷰: 요약카드 6개 + Chart.js 4개 차트 + 알림/월간요약 하단섹션
- 기존 대시보드 "통계 및 리포트" 바로가기 링크 연결
- 헤더 테넌트 선택 기준 전체/개별 테넌트 필터링 지원

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:03:58 +09:00

35 lines
1.3 KiB
PHP

{{-- 추이 차트 2x2 그리드 --}}
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
{{-- 매출 추이 --}}
<div class="bg-white rounded-lg shadow p-5">
<h3 class="text-base font-semibold text-gray-900 mb-4">매출 추이 (7)</h3>
<div class="relative" style="height: 280px;">
<canvas id="salesChart"></canvas>
</div>
</div>
{{-- 자금 흐름 --}}
<div class="bg-white rounded-lg shadow p-5">
<h3 class="text-base font-semibold text-gray-900 mb-4">자금 흐름 (7)</h3>
<div class="relative" style="height: 280px;">
<canvas id="financeChart"></canvas>
</div>
</div>
{{-- 생산 현황 --}}
<div class="bg-white rounded-lg shadow p-5">
<h3 class="text-base font-semibold text-gray-900 mb-4">생산 현황 (7)</h3>
<div class="relative" style="height: 280px;">
<canvas id="productionChart"></canvas>
</div>
</div>
{{-- 시스템 활동 --}}
<div class="bg-white rounded-lg shadow p-5">
<h3 class="text-base font-semibold text-gray-900 mb-4">시스템 활동 (7)</h3>
<div class="relative" style="height: 280px;">
<canvas id="systemChart"></canvas>
</div>
</div>
</div>