Skip to content

v1.6.0-rc5#17

Closed
BiancoGabry wants to merge 2 commits into
mainfrom
development
Closed

v1.6.0-rc5#17
BiancoGabry wants to merge 2 commits into
mainfrom
development

Conversation

@BiancoGabry
Copy link
Copy Markdown
Collaborator

This pull request enhances the handling of order status updates and improves the logic for order cancellation eligibility in the cashier interface. The most important changes are:

Order Status Updates:

  • Added support for handling the order-status-update event in the server-sent events (SSE) stream within CassaClient.tsx, ensuring that order statuses are updated in real-time when changes occur.

Order Cancellation Logic:

  • Updated the DailyOrderCard component to allow cancellation for orders with statuses CONFIRMED, COMPLETED, or PICKED_UP, rather than only CONFIRMED. This is reflected in the new isCancellable logic.
  • Modified the cancel button's enabled/disabled state and tooltip to use the new isCancellable logic, providing clearer feedback to users about when cancellation is possible.… orden in completed and picked up status

@BiancoGabry BiancoGabry closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant