kdrug-inventory-system/sample
시골약사 6e523e0cca Initial commit: Korean Traditional Medicine Inventory Management System
This project is a comprehensive web-based inventory and dispensing management system
for Korean traditional medicine clinics and pharmacies.

Main Features:
- Patient Management: Registration, search, and treatment history tracking
- Purchase Management: Bulk import via Excel files, supplier tracking, lot-based inventory
- Formula Management: Reusable prescription templates with customizable herb compositions
- Dispensing Management: Automated dispensing with FIFO stock deduction and cost calculation
- Inventory Tracking: Real-time stock status, lot-level tracking with origin and pricing

Technical Stack:
- Backend: Flask 3.1.2 (Python Web Framework)
- Database: SQLite with comprehensive schema for inventory, patients, formulas, and dispensing
- Frontend: Bootstrap 5.1.3 + jQuery for responsive web interface
- Excel Processing: pandas + openpyxl for bulk data import

Key Concepts:
- 1 Je (제) = 20 Cheop (첩) = 30 Pouches (파우치)
- Lot Management: Separate tracking by purchase date with origin country and unit price
- FIFO Deduction: Oldest inventory consumed first
- Cost Tracking: Accurate cost calculation based on lot-level pricing

Project Structure:
- app.py: Main Flask application with REST API endpoints
- database/schema.sql: Complete database schema
- templates/: HTML templates for web interface
- static/: CSS and JavaScript assets
- README.md: Comprehensive documentation in Korean

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-15 07:55:52 +00:00
..
order_view_20260215154829.xlsx Initial commit: Korean Traditional Medicine Inventory Management System 2026-02-15 07:55:52 +00:00