Comprehensive system for tracking damaged products, managing supplier dispatches, and handling compensation claims with full documentation and reporting.
The Damage Management Module provides an all-in-one solution for recording and managing damaged goods. It simplifies workflows involving supplier dispatches, compensation calculations, and stock adjustments—while offering real-time analytics and professional reporting tools.
1. Damage Record Management
Efficiently log and monitor every incident of product damage.Create Damage Records
- Product Selection: Choose products and variations directly from your inventory.
- Quantity Tracking: Record the exact number of damaged items.
- Location-Based: Associate damages with specific business locations.
- Date Tracking: Capture the date damage was reported.
- Reference Numbers: Auto-generate unique IDs (e.g., DMG-20251027-0001).
- Multiple compensation bases: Purchase Price, Sell Price, or Manual input.
- Automatic Calculations: System computes purchase value, sell value, and estimated compensation.
- Actual Compensation: Record the exact amount received from suppliers.
- Link damage entries to customers or suppliers for transparency.
- Add notes for documentation or communication context.
2. Dispatch Management
Control the movement of damaged goods from reporting to supplier dispatch.Dispatch Status Tracking
- Not Dispatched, Partial, Full Dispatch, Dispatched (Legacy)
- Send out partial quantities with modal-based input forms.
- Automatic remaining quantity calculation and stock adjustment.
- Complete log of dispatch actions with reference numbers (e.g., DS-20251027-0001).
- Tracks date, location, total quantity, and value.
3. Approval Workflow
Ensure accountability and consistency in damage approvals.Approval Statuses
- Pending, Approved, Rejected
- Auto-deduct or revert stock upon approval/rejection.
- Tracks all adjustments under /products/stock-history/.
- Generates stock_adjustment transactions for full traceability.
- Change approval status directly from the list view.
- Logs who approved/rejected and when.
- Maintains full audit trail.
4. Dashboard & Analytics
Get real-time insights and trends through intuitive visuals.Real-Time Statistics
- Damage count by approval status
- Financial summaries: Purchase, Sell, Expected & Actual Compensation
- Quantity metrics: Total, Dispatched, Remaining
- Monthly Damage Trends (Line Chart)
- Dispatch Status Breakdown (Doughnut)
- Approval Status Overview (Doughnut)
- Top 10 Damaged Products
- Damage by Location
- Recent Records Overview
5. Reporting
Generate detailed, professional-grade reports with export capabilities.Stock Impact Report
- Displays current, dispatched, and closing stock values.
- Filter by Location, Brand, Category, or Date Range.
- Combine multiple filters for precision.
- Copy | CSV | Excel | PDF | Print
- Excel-style layout
- Color-coded headers
- Totals and summary rows
- Print-optimized formatting
6. Integration Features
Seamlessly connects with the existing inventory and transaction systems.Stock Integration
- Automatic deduction on approval
- Real-time updates and audit trails
- Creates stock_adjustment entries linked to financial records.
Granular user roles for viewing, creating, editing, and deleting damage and dispatch records.
7. User Interface
Modern, responsive, and intuitive UI built for efficiency.- Card-Based Dashboard: Animated metrics with gradient styles.
- Responsive Layout: Fully optimized for desktop, tablet, and mobile.
- Excel-Style Reports: Professional blue headers, alternating rows, and export tools.
8. Data Management
Maintain data accuracy, history, and integrity.- Full audit trail for all records, approvals, and dispatches.
- Automatic reference generation and database-level constraints.
- Safe deletions with cascading cleanup and stock reversion.
9. Installation
Streamlined, guided installation experience.Multi-Step Setup:
- License Agreement
- Installation Progress (real-time updates)
- Completion Summary
10. Localization Support
- Fully multilingual system with editable language files (Resources/lang/en/damage.php)
- Easy translation and consistent terminology
Database Tables:
- damage_records, dispatch_damages, dispatch_damage_lines
- Product & variation tracking
- Location, quantity, price, status, compensation, user, timestamps
- RESTful controllers with AJAX and modal support
- Print-friendly view templates
- Permission-based access control
- Superadmin-only installation
- User authorization & input validation
Retail Stores: Track damaged stock, process supplier returns, and manage claims.Warehouses: Record receiving damages and monitor supplier dispatches.
Distribution Centers: Track transport damage, handle compensation, and ensure product quality.
Complete Documentation: Full tracking for all damage activities.
- Financial Transparency: Compensation and loss monitoring.
- Stock Accuracy: Automatic, reliable adjustments.
- Audit Compliance: Detailed action history.
- Powerful Reporting: Real-time insights and exports.
- Operational Efficiency: Streamlined approvals and workflows.
- Data Integrity: Controlled access and validation.
- Seamless Integration: Works natively with your POS and stock system.