You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ADD] rental,sale: implement mandatory rental deposit system
This commit introduces a mandatory deposit system for rental products to
secure rentals against potential damages or late returns. The implementation
includes:
1. System configuration to set a deposit product that will be used across
all rental deposits
2. Product-level settings to enable deposits and specify amounts per unit
3. Automatic addition of deposit lines to rental orders
4. Frontend display of deposit information for customer transparency
The deposit system works by:
- Allowing administrators to configure a deposit product in Settings
- Enabling per-product deposit requirements with customizable amounts
- Automatically adding deposit lines when rental products are ordered
- Calculating deposit totals based on product quantity
- Maintaining clear relationships between rentals and their deposits
This feature was implemented to reduce financial risk for rental businesses
while maintaining a smooth customer experience. The system ensures deposits
are always collected when required without manual intervention from sales
staff.
task- Add rental deposit functionality
0 commit comments