706 B
706 B
- Add loading state guard to
startNewSessionandcompleteTransactionactions inresources/js/stores/pos.jsto prevent race conditions. - Update the "Confirm & Pay" button in
resources/js/Pages/PosMain.vueto be disabled whenposStore.loadingis true and add a loading spinner. - Modify the
getPosSessionsmethod inapp/Http/Controllers/Market/PosController.phpto exclude sessions with statusactivefrom the history records. - Test the checkout flow to ensure that double-clicking the completion button does not trigger multiple new session initializations.
- Verify that the "empty transaction" is no longer visible in the POS History table upon completion of a sale.