fix : clear is working without window reload

This commit is contained in:
Sibin Sabu 2025-08-09 12:38:06 +05:30
parent 01516866b7
commit 0fc02ef576

View File

@ -790,7 +790,9 @@ clearLocalTickets() {
// Reset via shared state
this.sharedStateService.setSalesTotal(0);
this.sharedStateService.setReceiveTotal(0);
window.location.reload();
// window.location.reload();
this.selectionService.clearSelections();
this.resetSelections();
// Optionally clear print clicks
// localStorage.removeItem('printClickCount');