- Introduced new routes for Payments and PaymentInfo components in the Finance module.
- Enhanced lazy loading for improved performance and user experience in the finance dashboard.
- Enhanced the disabled logic for invoice actions by introducing a list of allowed states: 'delivered', 'sent', 'confirmed', 'shipped', 'partiallyDelivered', and 'partiallyShipped'.
- Simplified the return statement for better readability and maintainability.
- Added a "New Payment" button to the Invoice model, allowing users to initiate payments based on invoice state.
- Introduced an "Acknowledge" button for invoices in the "sent" state, enabling acknowledgment actions.
- Updated the invoice grouping and filtering criteria to include "orderType" and "to/from" fields.
- Adjusted column definitions to improve layout and visibility of new fields, including "acknowledgedAt" and "paidAt".
- Enhanced the invoice summary calculations to include acknowledged counts and totals.
- Introduced a new modal for creating invoices within the SalesOrderInfo component.
- Implemented state management for the new invoice modal, allowing users to open and close it.
- Integrated NewInvoice component with default values for sales order processing.
- Added `size` prop to ObjectProperty component for better customization of input elements.
- Updated relevant instances in the component to utilize the new `size` prop, ensuring consistent styling across different usages.
- Introduced Payment model and associated components for managing payments within the finance dashboard.
- Added PaymentIcon for visual representation in the sidebar and other components.
- Implemented Payments overview, including statistics and a new modal for creating payments.
- Enhanced InvoiceInfo component to include payment details and actions for acknowledging and posting payments.
- Updated database models to integrate payment functionalities, ensuring comprehensive financial tracking.
- Added new invoicing fields: invoicedAmount, invoicedAmountWithTax, invoicedAmountRemaining, and invoicedAmountWithTaxRemaining to the Shipment model.
- Updated NewShipment component to include the new invoicing fields in its initial state configuration for better shipment tracking and management.
- Added a new modal for creating invoices within the PurchaseOrderInfo component.
- Introduced state management for the new invoice modal, allowing users to open and close it.
- Updated PurchaseOrder model to include additional allowed states for invoice creation.
- Added a new field for 'completedAt' in the NewPurchaseOrder component for better order tracking.