Commit Graph

377 Commits

Author SHA1 Message Date
NotII
2c48ecd2b4 Add product applicability controls to promotion forms
Introduces product selection and exclusion controls to both new and edit promotion forms, allowing promotions to target all, specific, or all-but-specific products. Adds a reusable ProductSelector component, updates promotion types to support new fields, and adjusts cookie max-age for authentication. Also adds two new business quotes.
2025-08-07 16:05:31 +01:00
NotII
db1ebcb19d Refactor KeepOnline logic and add useKeepOnline hook
Moved dashboard path check from KeepOnline to a new KeepOnlineWrapper component for cleaner separation of concerns. Introduced a reusable useKeepOnline hook to encapsulate the online status update logic. Updated layout to use KeepOnlineWrapper and simplified KeepOnline. Minor cleanup in broadcast-dialog.tsx.
2025-08-01 15:27:52 +01:00
NotII
5b78e4f86c Improve broadcast dialog and product selector UI
Enhanced the broadcast dialog with better product selection UX, including a 'Done' button and improved selected products display. Updated the product selector to show more concise product descriptions, adjusted scroll area height, and improved price styling for clarity.
2025-07-30 16:05:46 +02:00
NotII
4d1c37de92 hmm 2025-07-30 12:25:46 +02:00
NotII
1b51f29c24 Add flexible date pickers and export options to stock dashboard
Introduces a reusable date picker component with support for single date, date range, and month selection. Updates the stock management page to allow exporting reports by daily, weekly, monthly, or custom date ranges using the new pickers. Refactors promotion form to use the new date picker for start and end dates. Adds more business quotes to the quotes config.
2025-07-30 00:38:25 +02:00
NotII
48cfd45fb1 Add notification context and privacy toggle for analytics
Introduces a NotificationProvider context to centralize notification logic and state, refactoring UnifiedNotifications to use this context. Adds a privacy toggle to AnalyticsDashboard and RevenueChart to allow hiding sensitive numbers. Updates layout to wrap the app with NotificationProvider.
2025-07-28 22:50:55 +02:00
NotII
2452a3c5f6 Sort pricing tiers by minQuantity in UI
Pricing tiers are now displayed sorted by minQuantity, improving clarity for users. Event handlers are updated to use the original index to ensure correct tier manipulation after sorting.
2025-07-27 00:24:57 +02:00
NotII
f1e7583219 Add paidAt field and display to order details and table
Introduces the optional 'paidAt' field to the Order interface and updates both the order details page and the order table to display the payment date. Also adds sorting by 'paidAt' in the order table and improves date formatting for both order and payment dates.
2025-07-26 22:32:47 +02:00
NotII
639277dc2b Update page.tsx 2025-07-26 21:36:12 +02:00
NotII
0e99952b72 Update page.tsx 2025-07-26 15:10:35 +02:00
NotII
707f7e359f Update page.tsx 2025-07-25 20:56:22 +01:00
NotII
cb1335b8fd ficks 2025-07-22 02:40:36 +01:00
NotII
b329c8422d oh 2025-07-20 23:34:42 +01:00
NotII
0617ea5289 clean up 2025-07-17 16:28:59 +01:00
NotII
d30a966442 weewoo 2025-07-17 16:24:23 +01:00
NotII
bd3f29ae4b Update products.ts 2025-07-17 16:11:49 +01:00
NotII
0fa33df2ad hmm 2025-07-17 16:07:07 +01:00
NotII
e65d6d3fee Bump version
Bump version
2025-07-17 11:35:34 +01:00
NotII
57e130a247 i need a shit 2025-07-17 11:06:58 +01:00
NotII
18e87721e2 fix 2025-07-01 01:49:49 +01:00
NotII
20ae136e37 Create ANALYTICS.md 2025-06-30 18:38:55 +01:00
NotII
401873b8bb fix up 2025-06-30 18:38:51 +01:00
NotII
84e4515a26 anal 2025-06-30 16:56:57 +01:00
NotII
6516c6d2f9 Update analytics-service.ts 2025-06-30 15:55:27 +01:00
NotII
356da4606d uwu 2025-06-30 14:54:13 +01:00
NotII
ad108298a6 Update loading.tsx 2025-06-30 13:52:58 +01:00
NotII
236a676ac5 holy fkn airball 2025-06-29 04:13:50 +01:00
NotII
e9b943a00a Create loading.tsx 2025-06-29 03:10:54 +01:00
NotII
86ddadb5cf eek 2025-06-29 03:07:48 +01:00
NotII
f61a7e0276 Metrics 2025-06-29 03:05:42 +01:00
NotII
2df47e1052 Add options 2025-06-14 00:32:02 +01:00
NotII
05ec33aa9d Update product-modal.tsx 2025-06-09 22:10:07 +01:00
NotII
b77f0d007d Add ML, fix product stock data 2025-06-09 22:06:33 +01:00
NotII
bc8eda5eb8 Update product-modal.tsx 2025-06-09 21:56:08 +01:00
NotII
381b75f778 Update products.ts 2025-06-09 21:29:23 +01:00
NotII
48ad96fbec Update page.tsx 2025-05-29 14:25:50 +01:00
NotII
ee5fc4a9d6 Update page.tsx 2025-05-29 12:48:38 +01:00
NotII
343a66523d Update ChatTable.tsx 2025-05-29 12:18:25 +01:00
NotII
10d7307725 hmm 2025-05-23 10:01:32 +01:00
NotII
308a816736 uwu 2025-05-19 17:51:06 +01:00
NotII
02e09003d5 Update git-info.json 2025-05-19 01:35:05 +01:00
NotII
e034b08ccd Update .gitignore 2025-05-19 01:34:59 +01:00
NotII
a54b5c017f Update layout.tsx 2025-05-19 01:34:45 +01:00
NotII
f8e3173067 Cleanup 2025-05-17 17:52:25 +01:00
NotII
e338a5d0b2 Update page.tsx 2025-04-25 00:14:52 +01:00
NotII
dd4dac888f Update page.tsx 2025-04-21 17:25:10 +01:00
NotII
0fa841aaf6 Add Icons 2025-04-21 17:24:45 +01:00
NotII
17e983fed1 Update page.tsx 2025-04-21 16:48:10 +01:00
NotII
0431b799fb Update page.tsx 2025-04-21 16:14:55 +01:00
NotII
34e995601d Update page.tsx 2025-04-21 15:59:06 +01:00