🔧 Machine Management Fixes: - Fix duplicate machine counting (was showing 10 instead of 5) - Update dashboard stats to use Headscale nodes instead of FARMQ profiles - Fix JavaScript counting to only count active view (List/Card) - Add view change listeners to update counters correctly 🏥 Pharmacy Management Fixes: - Add API endpoint for individual pharmacy data retrieval - Fix pharmacy edit modal to load existing data as form values - Add proper form validation and error handling - Implement edit vs add mode detection 📊 Database Integration: - Improve machine counting logic using Headscale Node table - Fix online/offline status calculation with 5-minute threshold - Add debug logging for machine data retrieval 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| detail.html | ||
| list.html | ||