Consolidate kitchen display, customer phone, outlet billing and security fixes - #1034
Merged
Merged
Conversation
# Conflicts: # src/kitchen-screen.html
Contributor
|
Merged to Try it at https://develop.posnic.io, or run it yourself: git fetch origin develop && git checkout develop
npm install && npm --prefix api install
npm run dev # then http://localhost:3000When you have tested it, say what you did and what happened, and set Reporting that something is broken is as useful as fixing it. It is |
| if (billingWindowStore) { | ||
| if (key === 'branch_id_set' && String(value) !== billingWindowStore.branch_id_set) return; | ||
| billingWindowStore[key] = String(value); | ||
| sessionStorage.setItem(billingStoreKey, JSON.stringify(billingWindowStore)); |
| if (key === 'branch_id_set' && String(value) !== billingWindowStore.branch_id_set) return; | ||
| billingWindowStore[key] = String(value); | ||
| sessionStorage.setItem(billingStoreKey, JSON.stringify(billingWindowStore)); | ||
| } else localStorage.setItem(key, value); |
| // an empty value would defeat that. | ||
| remove: function (key) { | ||
| localStorage.removeItem(key); | ||
| if (billingWindowStore) { delete billingWindowStore[key]; sessionStorage.setItem(billingStoreKey, JSON.stringify(billingWindowStore)); } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kitchen orders now stay in one table box with configurable visible dish rows, cancellation notices, and ready/collected status. Captain-entered preparation prices reach automatic KOTs. Customer phone editing keeps the dial code separate, and cached INR demo placeholders are corrected during seeding.
This also consolidates outlet billing windows and daily summaries, the refresh/Captain settings improvements, and the previously reviewed tenant, filter, and backup security corrections. Existing desktop kitchen voice recording remains available in Hardware Manager.
Validation: full local API suite: 11,569 passed, 13 existing skips. Full local desktop suite: 3,620 passed, 5 skips. Frontend build, formatting, API documentation, runtime/dependency and attribution checks passed. Physical printer and speaker output still requires hardware testing.
Limitation: outlet configuration is scoped to each API database; cloud-to-desktop outlet configuration sync is not implemented. Website dataset archive changes are maintained in the separate website repository.