Skip to content

v4.2.0 — Dashboard & Notifications

Choose a tag to compare

@pattersonrptr pattersonrptr released this 16 Apr 04:55
· 76 commits to main since this release

Added

  • Interactive Chart.js dashboard on the home page: movements per month (line chart), stock by category (doughnut chart), and top 10 sellers (horizontal bar chart) with dedicated API endpoints
  • Profitability report: cost vs selling price analysis per product with revenue, cost, profit, and margin percentage breakdown
  • Email notifications for low stock via configurable SMTP — background service checks products below minimum stock at a configurable interval and sends alert emails
  • EmailNotifications configuration section in appsettings.example.json (SmtpHost, SmtpPort, SmtpUser, SmtpPassword, FromEmail, ToEmail, EnableSsl, CheckIntervalHours)

Changed

  • Home page now includes interactive charts alongside the existing summary cards and recent movements table
  • Reports dropdown in navbar now includes Lucratividade (Profitability) link