A comprehensive Android application for tracking the complete lifecycle of dress manufacturing business - from raw material purchase to final sales and profit analysis.
- Record cloth purchases with supplier details
- Track meters, rates, and total costs
- Payment status tracking (Paid/Pending)
- Cloth type management with custom types
- Create reusable set templates
- Define cloth type and meters per set
- Allocate meters from purchased batches
- Track leftover materials after set creation
- Sutarang β Bandhai β Coloring workflow
- Track processing stages with worker assignments
- Monitor cycle times and costs per stage
- Visual kanban-style board with color-coded stages
- Record losses after coloring stage
- Track loss sets and meters with reasons
- Adjust finished quantities automatically
- Create sales records for finished sets
- Track customer information and pricing
- Record receipts and payment modes
- Monitor pending vs received sales
- Central payment management for workers
- Receipt tracking for customers
- Payment mode tracking (Cash, UPI, Bank Transfer)
- Summary dashboards with totals
- Real-time profit calculation per batch
- Cost breakdown (Raw materials + Processing costs)
- Profit percentage analysis
- Stage-wise cost allocation
- CSV export for all data tables
- Database backup functionality
- Git backup instructions
- Data portability and analysis
- UI: Jetpack Compose with Material3 design
- Database: Room with SQLite
- Dependency Injection: Hilt
- Architecture: MVVM with StateFlow
- Language: Kotlin
- Minimum SDK: API 31 (Android 12)
- Purchase: Blue (#0369A1) - Primary operations
- Set Creation: Teal (#0EA5A1) - Template management
- Sutarang: Yellow (#F59E0B) - First processing stage
- Bandhai: Orange (#FB923C) - Second processing stage
- Coloring: Pink (#EC4899) - Final processing stage
- Sales: Purple (#7C3AED) - Revenue operations
- Custom typography scale optimized for business data
- Clear hierarchy for financial information
- Accessible contrast ratios
- Dashboard - Overview and quick actions
- Purchase - Raw material management
- Processing - Stage-wise workflow board
- Payments - Worker payment management
- Receipts - Customer receipt tracking
- Reports - Profit analysis and insights
- Android Studio Arctic Fox or later
- Android SDK 31+
- Kotlin 1.8+
- Clone the repository
- Open in Android Studio
- Sync Gradle files
- Run on device or emulator
The app uses Room database with automatic migration. No manual setup required.
Raw Cost = metersConsumed Γ ratePerMeter
Stage Costs = sum(processing_records.totalAmount)
Total Cost = Raw Cost + Stage Costs
Finished Sets = setsCreated - totalLossSets
Cost per Set = Total Cost Γ· Finished Sets
Profit per Set = Sale Price - Cost per Set
Profit % = (Profit per Set Γ· Cost per Set) Γ 100
- Purchase β Raw cloth batches
- Template β Define set specifications
- Create Sets β Allocate meters from batches
- Sutarang β First processing stage
- Bandhai β Second processing stage
- Coloring β Final processing stage
- Loss Entry β Record any losses
- Sales β Sell finished sets
- Receipts β Track payments received
app/src/main/java/com/hamid/satindress/
βββ data/
β βββ entities/ # Room entities
β βββ dao/ # Data access objects
β βββ AppDatabase.kt # Database configuration
β βββ DataRepository.kt # Repository pattern
β βββ ProfitCalculator.kt # Business logic
βββ ui/
β βββ screens/ # Compose screens
β βββ viewmodel/ # ViewModels
β βββ theme/ # Material3 theming
βββ di/ # Dependency injection
βββ MainActivity.kt # Entry point
- Room: Local database with Flow support
- Hilt: Dependency injection
- Compose: Modern UI toolkit
- Material3: Latest design system
- StateFlow: Reactive state management
- ClothBatch: Raw material purchases
- SetTemplate: Reusable set specifications
- CreatedSet: Sets created from batches
- ProcessingRecord: Stage-wise processing
- LossRecord: Loss tracking
- Sale: Sales transactions
- Payment: Worker payments
- Receipt: Customer receipts
- All data stored locally on device
- No cloud synchronization
- Export functionality for data portability
- Git backup for code versioning
- Optimized database queries
- Lazy loading for large datasets
- Efficient state management
- Minimal memory footprint
- Database errors: Check Room version compatibility
- UI not updating: Verify StateFlow collection
- Navigation issues: Check Hilt injection
- Database Inspector in Android Studio
- Layout Inspector for UI debugging
- Logcat for runtime issues
- Fork the repository
- Create feature branch
- Commit changes
- Push to branch
- Create Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- Create an issue in the repository
- Check the documentation
- Review the code comments
- v1.0.0: Initial release with complete business workflow
- All milestones (M1-M10) implemented
- Full feature set for dress manufacturing business
Built with β€οΈ for the dress manufacturing industry