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
To implement the use of retention date as the minimum date when searching products, you'll need to modify the useSearchTime hook in /frontend/src/hooks/useSearchTime.ts. Specifically, integrate a mechanism to fetch or define the retention date and ensure the startDate state cannot be set earlier than this retention date. This might involve adding a new state for the retention date and adjusting the updateSearchTime and resetSearchTime functions to respect this minimum date. Additionally, consider how the retention periods are defined in the backend, as seen in /backend/migrations/cmd/add-stripe-prices/main.go, to ensure consistency in how retention dates are calculated and used across the application.
No description provided.
The text was updated successfully, but these errors were encountered: