LogiFlow
7a6b84e4c1
Merge pull request #293 from R0m1k3/1.1
...
Remove the validation button from the reconciliation modal
2025-08-22 11:41:28 +02:00
michaelschal
a04dc123a3
Remove the validation button from the reconciliation modal
...
Remove the "Valider le rapprochement" button and associated logic from the ReconciliationModal component in client/src/components/modals/ReconciliationModal.tsx.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 72798e04-65c2-4587-bc41-77a3d4984153
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/72798e04-65c2-4587-bc41-77a3d4984153/QaTgrBu
2025-08-22 09:39:55 +00:00
LogiFlow
e38a86e436
Merge pull request #292 from R0m1k3/1.1
...
1.1
2025-08-22 09:42:55 +02:00
michaelschal
6a2457ca68
Enable task creation with selected store for administrators
...
Update TaskFormInline to accept selectedStoreId and user, passing them to the backend for task creation.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 72798e04-65c2-4587-bc41-77a3d4984153
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/72798e04-65c2-4587-bc41-77a3d4984153/rxmoj25
2025-08-22 07:32:16 +00:00
michaelschal
2418e308c9
Saved your changes before starting work
...
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 72798e04-65c2-4587-bc41-77a3d4984153
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-22 07:29:32 +00:00
LogiFlow
747b41aaa5
Merge pull request #291 from R0m1k3/1.1
...
1.1
2025-08-21 13:37:40 +02:00
LogiFlow
a65276028e
Merge pull request #290 from R0m1k3/1.1
...
1.1
2025-08-21 13:37:10 +02:00
michaelschal
1a7f284cc6
Extend year selection to include a decade of future options
...
Update `Publicities.tsx` to generate year options from 2025 to 2035, modifying the `yearOptions` array generation logic.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/0gylnen
2025-08-21 11:37:01 +00:00
michaelschal
cbf2eed63a
Update how the current year is displayed in the publicities section
...
Remove defaultValue and placeholder for the year select component in Publicities.tsx.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/0gylnen
2025-08-21 11:36:09 +00:00
michaelschal
393ee4a231
Set default year selection to the current year for better usability
...
Update the year selector component in Publicities.tsx to default to the current year, improving the user experience by pre-selecting the most relevant year.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/0gylnen
2025-08-21 11:34:41 +00:00
michaelschal
bac38b76d7
Update year selector in advertising module to show current year and next five
...
Adjusts the year selection range in the advertising module to display the current year and the following five years, setting the current year as the default.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/0gylnen
2025-08-21 11:33:23 +00:00
LogiFlow
c84c61bb15
Merge pull request #289 from R0m1k3/1.1
...
Improve how advertisements are displayed by fixing sorting
2025-08-21 13:30:40 +02:00
michaelschal
1aa3069d89
Improve how advertisements are displayed by fixing sorting
...
Adjust the advertisement retrieval to use direct column ordering instead of SQL CAST for better production compatibility and logging.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/0gylnen
2025-08-21 11:29:53 +00:00
LogiFlow
d82563c496
Merge pull request #288 from R0m1k3/1.1
...
Fix display issues and adjust year range for publicities
2025-08-21 13:26:47 +02:00
michaelschal
6cf7631bdf
Fix display issues and adjust year range for publicities
...
Correctly display publicities by fixing an issue that prevented data from rendering, and expand the selectable year range to include years from 2020 onwards.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/bg09zFa
2025-08-21 11:25:56 +00:00
LogiFlow
ef9f9b4dc4
Merge pull request #287 from R0m1k3/1.1
...
1.1
2025-08-21 13:23:02 +02:00
michaelschal
19c41f11c3
Improve handling of yearly data to correctly process all years
...
Update year calculations to accurately reflect week and month assignments, particularly for transitional periods between years, and enhance API logging for debugging.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/ZJYssQp
2025-08-21 11:22:14 +00:00
michaelschal
55afb8eb70
Improve year week calculation for accurate display of past and future events
...
Refactor the `getYearWeeks` function to use a safer `Date` constructor and limit the number of weeks generated, addressing an issue with the year 2025 calculation.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/ZJYssQp
2025-08-21 11:20:58 +00:00
LogiFlow
6df45d7138
Merge pull request #286 from R0m1k3/1.1
...
Sort advertisements by number on the frontend
2025-08-21 13:17:14 +02:00
michaelschal
df061adf7a
Sort advertisements by number on the frontend
...
Fixes an issue where advertisements were not consistently sorted by their publication number on the frontend by implementing a client-side sort function in `Publicities.tsx`.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/nmin1YE
2025-08-21 11:16:02 +00:00
LogiFlow
7f487940bf
Merge pull request #285 from R0m1k3/1.1
...
1.1
2025-08-21 13:10:36 +02:00
michaelschal
172541c2b7
Make managers see orders from their assigned store automatically
...
Update manager role logic in routes.ts to automatically use the first assigned store for orders and deliveries, and handle cases where no stores are assigned.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/PHXoZau
2025-08-21 11:10:06 +00:00
michaelschal
1a21876978
Grant director access to all orders and refine manager order visibility
...
Update route logic to include 'directeur' role for admin-like access and adjust manager role to display orders from all accessible groups, while enforcing explicit store selection for employees.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0ec86cdf-a5be-4b0e-84a3-07b926f5cc80
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/0ec86cdf-a5be-4b0e-84a3-07b926f5cc80/PHXoZau
2025-08-21 11:03:41 +00:00
LogiFlow
268abbb239
Merge pull request #284 from R0m1k3/1.1
...
Ensure task list sorts correctly by number from smallest to largest
2025-08-21 12:54:31 +02:00
michaelschal
ceebe73b91
Ensure task list sorts correctly by number from smallest to largest
...
Fix task sorting by casting the publication number to an integer for accurate numerical ordering and update logging for better debugging insight.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2e1318c6-77b3-4174-b8c7-432d781590ed
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/2e1318c6-77b3-4174-b8c7-432d781590ed/sW3Ppp1
2025-08-21 10:53:36 +00:00
LogiFlow
fda94000d0
Merge pull request #283 from R0m1k3/1.1
...
Improve task sorting by user role and creation date
2025-08-21 12:50:32 +02:00
michaelschal
372b67429b
Improve task sorting by user role and creation date
...
Update task sorting logic to prioritize user roles and creation dates for better organization.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2e1318c6-77b3-4174-b8c7-432d781590ed
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/2e1318c6-77b3-4174-b8c7-432d781590ed/EyDMIMl
2025-08-21 10:47:14 +00:00
LogiFlow
fc77185b50
Merge pull request #282 from R0m1k3/1.1
...
Update how advertisements are displayed to show smallest numbers first
2025-08-21 12:44:55 +02:00
michaelschal
739f58ff04
Update how advertisements are displayed to show smallest numbers first
...
Implement a new sorting mechanism for advertisements, displaying them in ascending order by their publication number, and add test data for advertisements.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2e1318c6-77b3-4174-b8c7-432d781590ed
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/2e1318c6-77b3-4174-b8c7-432d781590ed/EyDMIMl
2025-08-21 10:44:01 +00:00
LogiFlow
c3107a80b4
Merge pull request #281 from R0m1k3/1.1
...
Improve advertising list sorting for smaller numbers first
2025-08-21 12:35:40 +02:00
michaelschal
d43e72fd70
Improve advertising list sorting for smaller numbers first
...
Add console logging to debug and confirm ascending order sorting by advertisement number in the database storage.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2e1318c6-77b3-4174-b8c7-432d781590ed
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/2e1318c6-77b3-4174-b8c7-432d781590ed/TaNhylA
2025-08-21 10:35:03 +00:00
LogiFlow
dfaeb90388
Merge pull request #280 from R0m1k3/1.1
...
Order advertisements by their number from smallest to largest
2025-08-21 12:24:46 +02:00
michaelschal
287b2aa702
Order advertisements by their number from smallest to largest
...
Update server/storage.ts to sort publicities by pubNumber in ascending order using asc(publicities.pubNumber).
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2e1318c6-77b3-4174-b8c7-432d781590ed
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/2e1318c6-77b3-4174-b8c7-432d781590ed/D0szOHB
2025-08-21 10:22:17 +00:00
LogiFlow
d35d14ef77
Merge pull request #279 from R0m1k3/1.1
...
Sort advertisements by publication number in descending order
2025-08-21 12:17:20 +02:00
michaelschal
07f64d4713
Sort advertisements by publication number in descending order
...
Update server/storage.ts to sort publicities by `pubNumber` in descending order instead of `createdAt`.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2e1318c6-77b3-4174-b8c7-432d781590ed
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/2e1318c6-77b3-4174-b8c7-432d781590ed/XToCG0X
2025-08-21 10:14:08 +00:00
LogiFlow
46b96b70b0
Merge pull request #278 from R0m1k3/1.1
...
Prevent deliveries from linking to orders from different stores
2025-08-21 12:07:46 +02:00
michaelschal
58c62c3c8d
Prevent deliveries from linking to orders from different stores
...
Implement validation to ensure that a delivery is only linked to an order belonging to the same store, preventing cross-store order linking in the delivery module.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2e1318c6-77b3-4174-b8c7-432d781590ed
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/2e1318c6-77b3-4174-b8c7-432d781590ed/zdg8r7D
2025-08-21 10:02:39 +00:00
LogiFlow
dba05a2af5
Merge pull request #277 from R0m1k3/1.1
...
1.1
2025-08-20 12:04:32 +02:00
michaelschal
cca9942178
Fix calendar data filtering for all user roles
...
Apply store filtering to the calendar view for all user roles, resolving issues with persistent data display after reload.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 15f19c36-9aac-46a4-a181-3dc5f496fabd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/15f19c36-9aac-46a4-a181-3dc5f496fabd/6vGI9xw
2025-08-20 10:03:42 +00:00
michaelschal
e98abae9fe
Fix calendar view to correctly filter stores for all user roles
...
Adjusted the calendar page logic to apply store filtering for all user roles, not just administrators.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 15f19c36-9aac-46a4-a181-3dc5f496fabd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/15f19c36-9aac-46a4-a181-3dc5f496fabd/s75PPM5
2025-08-20 10:00:03 +00:00
LogiFlow
11b7949414
Merge pull request #276 from R0m1k3/1.1
...
1.1
2025-08-20 11:59:57 +02:00
michaelschal
9dbb5e0768
Ensure linked orders are marked as planned when deliveries are updated
...
Correctly update order status to 'planned' when a delivery is linked or edited in the calendar, addressing an issue where orders were not transitioning to the planned state.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 15f19c36-9aac-46a4-a181-3dc5f496fabd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/15f19c36-9aac-46a4-a181-3dc5f496fabd/s75PPM5
2025-08-20 09:51:58 +00:00
michaelschal
20efd9251e
Ensure all users can view relevant data by filtering it by their selected store
...
Fix data fetching logic to correctly apply store filtering for all user roles, and add an alert for managers/directors if no store is selected.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 15f19c36-9aac-46a4-a181-3dc5f496fabd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/15f19c36-9aac-46a4-a181-3dc5f496fabd/H1nJA1b
2025-08-20 08:58:29 +00:00
LogiFlow
ff42ec437f
Merge pull request #275 from R0m1k3/1.1
...
Make sure directors and managers see correct store data
2025-08-20 10:52:30 +02:00
michaelschal
46de48f459
Make sure directors and managers see correct store data
...
Fixes an issue where directors and managers might see data from multiple stores incorrectly. Ensures roles with limited store access only view their designated information and prompts explicit store selection when no store is chosen. Updates the UI to correctly display store selectors based on user roles. Also adds cache invalidation for user data upon authentication updates and refines API filtering for orders and deliveries to respect user roles and store selections.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 15f19c36-9aac-46a4-a181-3dc5f496fabd
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-20 08:46:04 +00:00
LogiFlow
73fa111f0b
Merge pull request #274 from R0m1k3/1.1
...
Remove rounded corners from task modals and restore the close button
2025-08-19 14:59:54 +02:00
michaelschal
c1b5d66f1e
Remove rounded corners from task modals and restore the close button
...
Update task modals to have square corners and reintroduce the close button in the top-right corner for both creation and editing.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d7bae60c-959e-464e-9a81-d3f674984466
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d7bae60c-959e-464e-9a81-d3f674984466/7Rj2nWl
2025-08-19 12:56:29 +00:00
LogiFlow
05a9b3abeb
Merge pull request #273 from R0m1k3/1.1
...
Simplify task modal by removing redundant cancel button
2025-08-19 14:50:02 +02:00
michaelschal
31f4cc3b00
Simplify task modal by removing redundant cancel button
...
Remove duplicate "Annuler" button from the Task creation/editing modal to improve UI clarity.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d7bae60c-959e-464e-9a81-d3f674984466
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d7bae60c-959e-464e-9a81-d3f674984466/S7zPZtF
2025-08-19 12:49:30 +00:00
LogiFlow
3b2978e010
Merge pull request #272 from R0m1k3/1.1
...
Remove rounded corners from dialogs and task input fields
2025-08-19 14:45:56 +02:00