Feature #8613
openUpdating manual delivery charges In POS and Product Subscription
100%
Subtasks
Related issues
Updated by Divya Inapakurthi 22 days ago
- % Done changed from 0 to 80
Fixed Subscription Totals: Corrected checkout calculations to accurately include delivery fees in the grand total.
Editable Delivery Fees: Enabled manual delivery price overrides in the checkout flow with 0–100 range validation.
Dashboard Copy Links: Added "Copy Link" buttons for both Product and Service subscription plans.
Resolved Delivery Calculation Bug: Fixed a backend logic error that was incorrectly setting delivery prices to zero.
Modified AddressForm to pass the grandTotal during validation for accurate fee calculation.
Updated checkout totals to correctly include delivery fees in both periodic and grand total displays.
Improved UI in the checkout dialog to ensure delivery costs are formatted with proper currency symbols.
Fixed Shipping Charges field not editable on /billing (Vite http://localhost:5173/billing) by separating typed input (shippingInput) from numeric state and formatting to 2 decimals on blur.
Prevented auto-overwrite of manually edited shipping by validated address response until user edits/toggles free delivery.
After Send Quote, shipping now resets back to default (0.00) when customer/cart is cleared.
Removed unnecessary tax recalculation when only Shipping Charges changes (stops calling POST /api/v1/tax/calculate-tax on shipping edits; tax recalcs only for items/discount/address changes).
Updated by Divya Inapakurthi 22 days ago
POS Billing: Added 50% cap validation for Shipping Charges (cannot exceed 50% of order total), with inline error and blocking invalid input.
POS Billing: Added support to reset/free-delivery + manual-shipping flags correctly when customer changes/clears (keeps shipping consistent after flows like Send Quote/Reset).
Subscriptions: Added 50% of grandTotal cap validation for Delivery Charge in AddressForm (blocks typing/paste/spinner over max and shows inline error).
Subscriptions: Hardened Delivery Charge input to disallow letters/special characters/negative values (numeric-only with 2-decimal parsing).
Updated by Divya Inapakurthi 22 days ago
Integrated "View Invoice PDF": Added a direct PDF viewing feature for both Service and Product subscriptions, allowing users to open invoices in a new tab without downloading.
Backend PDF Serving: Implemented secure backend controllers to generate and stream PDF buffers directly to the browser for real-time invoice viewing.
Updated by Divya Inapakurthi 22 days ago
Address Form UI Redesign: Moved the Delivery Charge input out of the status box and transformed it into a full-width field with a clear label, significantly improving user experience and form consistency.
Refined Subscription Layout: Updated the delivery status display to a horizontal row layout for a cleaner, more compact presentation of availability and distance.